Class 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.
  • Constructor Details

    • NewtScreenshotKeyController

      public NewtScreenshotKeyController(Chart chart, String outputFile)
  • Method Details

    • keyReleased

      public void keyReleased(com.jogamp.newt.event.KeyEvent e)
      Specified by:
      keyReleased in interface com.jogamp.newt.event.KeyListener
    • keyPressed

      public void keyPressed(com.jogamp.newt.event.KeyEvent e)
      Specified by:
      keyPressed in interface com.jogamp.newt.event.KeyListener