Package com.ardor3d.input.jogl
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 Summary
Modifier and TypeFieldDescriptionprotected boolean
protected final com.jogamp.newt.opengl.GLWindow
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
init()
void
windowGainedFocus
(com.jogamp.newt.event.WindowEvent e) void
windowLostFocus
(com.jogamp.newt.event.WindowEvent e) Methods inherited from class com.jogamp.newt.event.WindowAdapter
windowDestroyed, windowDestroyNotify, windowMoved, windowRepaint, windowResized
-
Field Details
-
_focusLost
protected volatile boolean _focusLost -
_newtWindow
protected final com.jogamp.newt.opengl.GLWindow _newtWindow
-
-
Constructor Details
-
JoglNewtFocusWrapper
-
-
Method Details
-
windowGainedFocus
public void windowGainedFocus(com.jogamp.newt.event.WindowEvent e) - Specified by:
windowGainedFocus
in interfacecom.jogamp.newt.event.WindowListener
- Overrides:
windowGainedFocus
in classcom.jogamp.newt.event.WindowAdapter
-
windowLostFocus
public void windowLostFocus(com.jogamp.newt.event.WindowEvent e) - Specified by:
windowLostFocus
in interfacecom.jogamp.newt.event.WindowListener
- Overrides:
windowLostFocus
in classcom.jogamp.newt.event.WindowAdapter
-
getAndClearFocusLost
public boolean getAndClearFocusLost()- Specified by:
getAndClearFocusLost
in interfaceFocusWrapper
-
init
public void init()- Specified by:
init
in interfaceFocusWrapper
-