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, target
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
Methods inherited from class org.jzy3d.chart.controllers.keyboard.screenshot.AbstractScreenshotKeyController
addListener, dispose, fireDone, fireError, getFilename, register, screenshot, setFilename, unregister
Methods inherited from class org.jzy3d.chart.controllers.AbstractController
addControllerEventListener, fireControllerEvent, getChart, getCharts, removeControllerEventListener
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
-
Constructor Details
-
AWTScreenshotKeyController
-
-
Method Details
-
keyTyped
- Specified by:
keyTyped
in interfaceKeyListener
-
keyReleased
- Specified by:
keyReleased
in interfaceKeyListener
-
keyPressed
- Specified by:
keyPressed
in interfaceKeyListener
-