Package com.jogamp.newt.event.awt
Class AWTWindowAdapter
java.lang.Object
com.jogamp.newt.event.awt.AWTAdapter
com.jogamp.newt.event.awt.AWTWindowAdapter
- All Implemented Interfaces:
ComponentListener
,FocusListener
,WindowListener
,EventListener
public class AWTWindowAdapter
extends AWTAdapter
implements ComponentListener, WindowListener, FocusListener
-
Field Summary
Fields inherited from class com.jogamp.newt.event.awt.AWTAdapter
DEBUG_IMPLEMENTATION
-
Constructor Summary
ConstructorsConstructorDescriptionAWTWindowAdapter
(WindowListener newtListener, NativeSurfaceHolder nsProxy) AWTWindowAdapter
(WindowListener newtListener, Window newtProxy) AWTWindowAdapter
(Window downstream) -
Method Summary
Modifier and TypeMethodDescriptionDue to the fact that some NEWTNEWTEventListener
are mapped to more than oneEventListener
, this method is for your convenience to use this Adapter as a listener for all types.
E.g.void
void
void
void
void
void
removeFrom
(Component awtComponent) removeWindowClosingFrom
(Component awtComponent) void
void
void
void
void
void
void
Methods inherited from class com.jogamp.newt.event.awt.AWTAdapter
clear, getNativeSurfaceHolder, getNewtEventListener, getNewtWindow, setConsumeAWTEvent, setDownstream
-
Constructor Details
-
AWTWindowAdapter
-
AWTWindowAdapter
-
AWTWindowAdapter
-
AWTWindowAdapter
public AWTWindowAdapter()
-
-
Method Details
-
addTo
Description copied from class:AWTAdapter
Due to the fact that some NEWTNEWTEventListener
are mapped to more than oneEventListener
, this method is for your convenience to use this Adapter as a listener for all types.
E.g.MouseListener
is mapped toMouseListener
andMouseMotionListener
.- Specified by:
addTo
in classAWTAdapter
-
removeWindowClosingFrom
-
removeFrom
- Specified by:
removeFrom
in classAWTAdapter
- See Also:
-
focusGained
- Specified by:
focusGained
in interfaceFocusListener
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
-
componentResized
- Specified by:
componentResized
in interfaceComponentListener
-
componentMoved
- Specified by:
componentMoved
in interfaceComponentListener
-
componentShown
- Specified by:
componentShown
in interfaceComponentListener
-
componentHidden
- Specified by:
componentHidden
in interfaceComponentListener
-
windowActivated
- Specified by:
windowActivated
in interfaceWindowListener
-
windowClosed
- Specified by:
windowClosed
in interfaceWindowListener
-
windowClosing
- Specified by:
windowClosing
in interfaceWindowListener
-
windowDeactivated
- Specified by:
windowDeactivated
in interfaceWindowListener
-
windowDeiconified
- Specified by:
windowDeiconified
in interfaceWindowListener
-
windowIconified
- Specified by:
windowIconified
in interfaceWindowListener
-
windowOpened
- Specified by:
windowOpened
in interfaceWindowListener
-