Package com.jogamp.newt.event
Class WindowAdapter
- java.lang.Object
-
- com.jogamp.newt.event.WindowAdapter
-
- All Implemented Interfaces:
NEWTEventListener,WindowListener,EventListener
- Direct Known Subclasses:
NEWTDemoListener
public abstract class WindowAdapter extends Object implements WindowListener
-
-
Constructor Summary
Constructors Constructor Description WindowAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwindowDestroyed(WindowEvent e)Window has been destroyed.voidwindowDestroyNotify(WindowEvent e)Window destruction has been requested.voidwindowGainedFocus(WindowEvent e)Window gained focus.voidwindowLostFocus(WindowEvent e)Window lost focus.voidwindowMoved(WindowEvent e)Window has been moved.voidwindowRepaint(WindowUpdateEvent e)Window area shall be repainted.voidwindowResized(WindowEvent e)Window is resized, your application shall respect the new window dimension.
-
-
-
Method Detail
-
windowResized
public void windowResized(WindowEvent e)
Description copied from interface:WindowListenerWindow is resized, your application shall respect the new window dimension. A repaint is recommended.- Specified by:
windowResizedin interfaceWindowListener
-
windowMoved
public void windowMoved(WindowEvent e)
Description copied from interface:WindowListenerWindow has been moved.- Specified by:
windowMovedin interfaceWindowListener
-
windowDestroyNotify
public void windowDestroyNotify(WindowEvent e)
Description copied from interface:WindowListenerWindow destruction has been requested.Depending on the
In case the window will be destroyed (see above), release of resources is recommended.default close operation, the window maybe destroyed or not.- Specified by:
windowDestroyNotifyin interfaceWindowListener
-
windowDestroyed
public void windowDestroyed(WindowEvent e)
Description copied from interface:WindowListenerWindow has been destroyed.- Specified by:
windowDestroyedin interfaceWindowListener
-
windowGainedFocus
public void windowGainedFocus(WindowEvent e)
Description copied from interface:WindowListenerWindow gained focus.- Specified by:
windowGainedFocusin interfaceWindowListener
-
windowLostFocus
public void windowLostFocus(WindowEvent e)
Description copied from interface:WindowListenerWindow lost focus.- Specified by:
windowLostFocusin interfaceWindowListener
-
windowRepaint
public void windowRepaint(WindowUpdateEvent e)
Description copied from interface:WindowListenerWindow area shall be repainted.- Specified by:
windowRepaintin interfaceWindowListener
-
-