Class WindowListener.Adapter

  • All Implemented Interfaces:
    WindowListener
    Enclosing interface:
    WindowListener

    @Deprecated
    public static class WindowListener.Adapter
    extends java.lang.Object
    implements WindowListener
    Deprecated.
    Since 2.1 and Java 8 the interface itself has default implementations.
    Window listener adapter.
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • titleChanged

        public void titleChanged​(Window window,
                                 java.lang.String previousTitle)
        Deprecated.
        Description copied from interface: WindowListener
        Called when a window's title has changed.
        Specified by:
        titleChanged in interface WindowListener
        Parameters:
        window - The window whose title has changed.
        previousTitle - What the title was previously (can be null).
      • iconAdded

        public void iconAdded​(Window window,
                              Image addedIcon)
        Deprecated.
        Description copied from interface: WindowListener
        Called when an icon has been added to a window.
        Specified by:
        iconAdded in interface WindowListener
        Parameters:
        window - The window that has changed.
        addedIcon - The icon that was added.
      • iconInserted

        public void iconInserted​(Window window,
                                 Image addedIcon,
                                 int index)
        Deprecated.
        Description copied from interface: WindowListener
        Called when a window has had an icon inserted.
        Specified by:
        iconInserted in interface WindowListener
        Parameters:
        window - The window that has changed.
        addedIcon - The newly added icon.
        index - The index where this icon was inserted in the window's icon sequence..
      • iconsRemoved

        public void iconsRemoved​(Window window,
                                 int index,
                                 Sequence<Image> removed)
        Deprecated.
        Description copied from interface: WindowListener
        Called when one or more of the window's icons were removed.
        Specified by:
        iconsRemoved in interface WindowListener
        Parameters:
        window - The window that has changed.
        index - Starting index of the icons that were removed in the window's icon sequence.
        removed - The sequence of icons that were actually removed.
      • contentChanged

        public void contentChanged​(Window window,
                                   Component previousContent)
        Deprecated.
        Description copied from interface: WindowListener
        Called when a window's content component has changed.
        Specified by:
        contentChanged in interface WindowListener
        Parameters:
        window - The window whose content has changed.
        previousContent - What the window's content was previously.
      • activeChanged

        public void activeChanged​(Window window,
                                  Window obverseWindow)
        Deprecated.
        Description copied from interface: WindowListener
        Called when a window's active state has changed.
        Specified by:
        activeChanged in interface WindowListener
        Parameters:
        window - The window that has changed its active state.
        obverseWindow - The "other" window that is affected.
      • maximizedChanged

        public void maximizedChanged​(Window window)
        Deprecated.
        Description copied from interface: WindowListener
        Called when a window's maximized state has changed.
        Specified by:
        maximizedChanged in interface WindowListener
        Parameters:
        window - The window whose state has changed.