Class AWTScreenshotKeyController
- java.lang.Object
-
- org.jzy3d.chart.controllers.AbstractController
-
- org.jzy3d.chart.controllers.keyboard.screenshot.AbstractScreenshotKeyController
-
- org.jzy3d.chart.controllers.keyboard.screenshot.AWTScreenshotKeyController
-
- All Implemented Interfaces:
KeyListener
,EventListener
,IScreenshotKeyController
public class AWTScreenshotKeyController extends AbstractScreenshotKeyController implements KeyListener, IScreenshotKeyController
Saves a screenshot in PNG format once key S is pressed.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jzy3d.chart.controllers.keyboard.screenshot.IScreenshotKeyController
IScreenshotKeyController.IScreenshotEventListener
-
-
Field Summary
-
Fields inherited from class org.jzy3d.chart.controllers.keyboard.screenshot.AbstractScreenshotKeyController
chart, listeners, outputFile
-
Fields inherited from class org.jzy3d.chart.controllers.AbstractController
controllerListeners, targets
-
-
Constructor Summary
Constructors Constructor Description AWTScreenshotKeyController(Chart chart, String outputFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
keyPressed(KeyEvent e)
void
keyReleased(KeyEvent e)
void
keyTyped(KeyEvent e)
-
Methods inherited from class org.jzy3d.chart.controllers.keyboard.screenshot.AbstractScreenshotKeyController
addListener, dispose, fireDone, fireError, getFilename, register, screenshot, setFilename
-
Methods inherited from class org.jzy3d.chart.controllers.AbstractController
addControllerEventListener, fireControllerEvent, getChart, getCharts, removeControllerEventListener, unregister
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jzy3d.chart.controllers.keyboard.screenshot.IScreenshotKeyController
addListener, getFilename, screenshot, setFilename
-
-
-
-
Method Detail
-
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped
in interfaceKeyListener
-
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased
in interfaceKeyListener
-
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed
in interfaceKeyListener
-
-