Interface WindowListener

    • Method Detail

      • titleChanged

        default void titleChanged​(Window window,
                                  java.lang.String previousTitle)
        Called when a window's title has changed.
        Parameters:
        window - The window whose title has changed.
        previousTitle - What the title was previously (can be null).
      • iconAdded

        default void iconAdded​(Window window,
                               Image addedIcon)
        Called when an icon has been added to a window.
        Parameters:
        window - The window that has changed.
        addedIcon - The icon that was added.
      • iconInserted

        default void iconInserted​(Window window,
                                  Image addedIcon,
                                  int index)
        Called when a window has had an icon inserted.
        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

        default void iconsRemoved​(Window window,
                                  int index,
                                  Sequence<Image> removed)
        Called when one or more of the window's icons were removed.
        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

        default void contentChanged​(Window window,
                                    Component previousContent)
        Called when a window's content component has changed.
        Parameters:
        window - The window whose content has changed.
        previousContent - What the window's content was previously.
      • activeChanged

        default void activeChanged​(Window window,
                                   Window obverseWindow)
        Called when a window's active state has changed.
        Parameters:
        window - The window that has changed its active state.
        obverseWindow - The "other" window that is affected.
      • maximizedChanged

        default void maximizedChanged​(Window window)
        Called when a window's maximized state has changed.
        Parameters:
        window - The window whose state has changed.