Interface WindowListener

All Superinterfaces:
EventListener, NEWTEventListener
All Known Implementing Classes:
NEWTDemoListener, TraceWindowAdapter, WindowAdapter

public interface WindowListener extends NEWTEventListener
NEWT WindowEvent listener.
  • Method Details

    • 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 default close operation, the window maybe destroyed or not.

      In case the window will be destroyed (see above), release of resources is recommended.
    • 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.