Package com.jogamp.newt.event
Interface WindowListener
-
- All Superinterfaces:
EventListener
,NEWTEventListener
- All Known Implementing Classes:
NEWTDemoListener
,TraceWindowAdapter
,WindowAdapter
public interface WindowListener extends NEWTEventListener
NEWTWindowEvent
listener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
windowDestroyed(WindowEvent e)
Window has been destroyed.void
windowDestroyNotify(WindowEvent e)
Window destruction has been requested.void
windowGainedFocus(WindowEvent e)
Window gained focus.void
windowLostFocus(WindowEvent e)
Window lost focus.void
windowMoved(WindowEvent e)
Window has been moved.void
windowRepaint(WindowUpdateEvent e)
Window area shall be repainted.void
windowResized(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.
-
-