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 NEWTNEWTEventListenerare mapped to more than oneEventListener, this method is for your convenience to use this Adapter as a listener for all types.
E.g.voidvoidvoidvoidvoidvoidremoveFrom(Component awtComponent) removeWindowClosingFrom(Component awtComponent) voidvoidvoidvoidvoidvoidvoidMethods 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:AWTAdapterDue to the fact that some NEWTNEWTEventListenerare mapped to more than oneEventListener, this method is for your convenience to use this Adapter as a listener for all types.
E.g.MouseListeneris mapped toMouseListenerandMouseMotionListener.- Specified by:
addToin classAWTAdapter
-
removeWindowClosingFrom
-
removeFrom
- Specified by:
removeFromin classAWTAdapter- See Also:
-
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener
-
componentResized
- Specified by:
componentResizedin interfaceComponentListener
-
componentMoved
- Specified by:
componentMovedin interfaceComponentListener
-
componentShown
- Specified by:
componentShownin interfaceComponentListener
-
componentHidden
- Specified by:
componentHiddenin interfaceComponentListener
-
windowActivated
- Specified by:
windowActivatedin interfaceWindowListener
-
windowClosed
- Specified by:
windowClosedin interfaceWindowListener
-
windowClosing
- Specified by:
windowClosingin interfaceWindowListener
-
windowDeactivated
- Specified by:
windowDeactivatedin interfaceWindowListener
-
windowDeiconified
- Specified by:
windowDeiconifiedin interfaceWindowListener
-
windowIconified
- Specified by:
windowIconifiedin interfaceWindowListener
-
windowOpened
- Specified by:
windowOpenedin interfaceWindowListener
-