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
FieldsModifier and TypeFieldDescriptionprotected booleanprotected final com.jogamp.newt.opengl.GLWindow -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidinit()voidwindowGainedFocus(com.jogamp.newt.event.WindowEvent e) voidwindowLostFocus(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:
windowGainedFocusin interfacecom.jogamp.newt.event.WindowListener- Overrides:
windowGainedFocusin classcom.jogamp.newt.event.WindowAdapter
-
windowLostFocus
public void windowLostFocus(com.jogamp.newt.event.WindowEvent e) - Specified by:
windowLostFocusin interfacecom.jogamp.newt.event.WindowListener- Overrides:
windowLostFocusin classcom.jogamp.newt.event.WindowAdapter
-
getAndClearFocusLost
public boolean getAndClearFocusLost()- Specified by:
getAndClearFocusLostin interfaceFocusWrapper
-
init
public void init()- Specified by:
initin interfaceFocusWrapper
-