Package org.apache.pivot.wtk
Class WindowListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.WindowListener
WindowListener.Adapter, WindowListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
activeChanged(Window window, Window obverseWindow)
Deprecated.Called when a window's active state has changed.void
contentChanged(Window window, Component previousContent)
Deprecated.Called when a window's content component has changed.void
iconAdded(Window window, Image addedIcon)
Deprecated.Called when an icon has been added to a window.void
iconInserted(Window window, Image addedIcon, int index)
Deprecated.Called when a window has had an icon inserted.void
iconsRemoved(Window window, int index, Sequence<Image> removed)
Deprecated.Called when one or more of the window's icons were removed.void
maximizedChanged(Window window)
Deprecated.Called when a window's maximized state has changed.void
titleChanged(Window window, java.lang.String previousTitle)
Deprecated.Called when a window's title has changed.
-
-
-
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 interfaceWindowListener
- Parameters:
window
- The window whose title has changed.previousTitle
- What the title was previously (can benull
).
-
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 interfaceWindowListener
- 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 interfaceWindowListener
- 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 interfaceWindowListener
- 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 interfaceWindowListener
- 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 interfaceWindowListener
- 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 interfaceWindowListener
- Parameters:
window
- The window whose state has changed.
-
-