Class JoglNewtFocusWrapper

java.lang.Object
com.jogamp.newt.event.WindowAdapter
com.ardor3d.input.jogl.JoglNewtFocusWrapper
All Implemented Interfaces:
FocusWrapper, com.jogamp.newt.event.NEWTEventListener, com.jogamp.newt.event.WindowListener, EventListener

public class JoglNewtFocusWrapper extends com.jogamp.newt.event.WindowAdapter implements FocusWrapper
  • Field Details

    • _focusLost

      protected volatile boolean _focusLost
    • _newtWindow

      protected final com.jogamp.newt.opengl.GLWindow _newtWindow
  • Constructor Details

  • Method Details

    • windowGainedFocus

      public void windowGainedFocus(com.jogamp.newt.event.WindowEvent e)
      Specified by:
      windowGainedFocus in interface com.jogamp.newt.event.WindowListener
      Overrides:
      windowGainedFocus in class com.jogamp.newt.event.WindowAdapter
    • windowLostFocus

      public void windowLostFocus(com.jogamp.newt.event.WindowEvent e)
      Specified by:
      windowLostFocus in interface com.jogamp.newt.event.WindowListener
      Overrides:
      windowLostFocus in class com.jogamp.newt.event.WindowAdapter
    • getAndClearFocusLost

      public boolean getAndClearFocusLost()
      Specified by:
      getAndClearFocusLost in interface FocusWrapper
    • init

      public void init()
      Specified by:
      init in interface FocusWrapper