Interface WindowListener

  • All Superinterfaces:
    EventListener
    All Known Implementing Classes:
    AutoReleaseListener, FormController

    public interface WindowListener
    extends EventListener

    Definition of an interface that must be implemented by objects that are interested in window related events.

    This event listener interface is an abstraction of platform specific window event listener interfaces. It defines callback methods for typical window events like window closing, activation, or iconifying.

    Version:
    $Id: WindowListener.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    • Method Detail

      • windowActivated

        void windowActivated​(WindowEvent event)
        Callback method to notify a listener that a window was activated.
        Parameters:
        event - the window event
      • windowClosing

        void windowClosing​(WindowEvent event)
        Callback method to notify a listener that a window is about to be closed. Events of this type are sent when the user clicks the closing icon in the window's title bar.
        Parameters:
        event - the window event
      • windowClosed

        void windowClosed​(WindowEvent event)
        Callback method to notify a listener that a window was closed.
        Parameters:
        event - the window event
      • windowDeactivated

        void windowDeactivated​(WindowEvent event)
        Callback method to notify a listener that a window was deactivated.
        Parameters:
        event - the window event
      • windowDeiconified

        void windowDeiconified​(WindowEvent event)
        Callback method to notify a listener that a window was deiconified.
        Parameters:
        event - the window event
      • windowIconified

        void windowIconified​(WindowEvent event)
        Callback method to notify a listener that a window was iconified.
        Parameters:
        event - the window event
      • windowOpened

        void windowOpened​(WindowEvent event)
        Callback method to notify a listener that a window was opened.
        Parameters:
        event - the window event