Class NewtScreenshotKeyController
java.lang.Object
org.jzy3d.chart.controllers.AbstractController
org.jzy3d.chart.controllers.keyboard.screenshot.AbstractScreenshotKeyController
org.jzy3d.chart.controllers.keyboard.screenshot.NewtScreenshotKeyController
- All Implemented Interfaces:
com.jogamp.newt.event.KeyListener
,com.jogamp.newt.event.NEWTEventListener
,EventListener
,IScreenshotKeyController
public class NewtScreenshotKeyController
extends AbstractScreenshotKeyController
implements com.jogamp.newt.event.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
keyPressed
(com.jogamp.newt.event.KeyEvent e) void
keyReleased
(com.jogamp.newt.event.KeyEvent e) 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
-
NewtScreenshotKeyController
-
-
Method Details
-
keyReleased
public void keyReleased(com.jogamp.newt.event.KeyEvent e) - Specified by:
keyReleased
in interfacecom.jogamp.newt.event.KeyListener
-
keyPressed
public void keyPressed(com.jogamp.newt.event.KeyEvent e) - Specified by:
keyPressed
in interfacecom.jogamp.newt.event.KeyListener
-