Package com.jogamp.newt.event
Interface WindowListener
-
- All Superinterfaces:
EventListener,NEWTEventListener
- All Known Implementing Classes:
NEWTDemoListener,TraceWindowAdapter,WindowAdapter
public interface WindowListener extends NEWTEventListener
NEWTWindowEventlistener.
-
-
Method Summary
All Methods Instance Methods Abstract 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
void windowResized(WindowEvent e)
Window is resized, your application shall respect the new window dimension. A repaint is recommended.
-
windowMoved
void windowMoved(WindowEvent e)
Window has been moved.
-
windowDestroyNotify
void windowDestroyNotify(WindowEvent e)
Window 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.
-
windowDestroyed
void windowDestroyed(WindowEvent e)
Window has been destroyed.
-
windowGainedFocus
void windowGainedFocus(WindowEvent e)
Window gained focus.
-
windowLostFocus
void windowLostFocus(WindowEvent e)
Window lost focus.
-
windowRepaint
void windowRepaint(WindowUpdateEvent e)
Window area shall be repainted.
-
-