Class DockingWindowAdapter
- All Implemented Interfaces:
DockingWindowListener
DockingWindowListener methods with empty bodies.- Since:
- IDW 1.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidviewFocusChanged(View previouslyFocusedView, View focusedView) Called when the focus moves from one view to another view.voidwindowAdded(DockingWindow addedToWindow, DockingWindow addedWindow) Called when a window has been added.voidwindowClosed(DockingWindow window) Called after the window that this listener is added to, or a child window of that window, has been closed.voidwindowClosing(DockingWindow window) Called before the window that this listener is added to, or a child window of that window, is closed.voidwindowDocked(DockingWindow window) Called when a view has been docked in the root window.voidwindowDocking(DockingWindow window) Called before the window that this listener is added to, or a child window of that window, is docked.voidwindowHidden(DockingWindow window) Called when a window is hidden, for example when it is deselected in a TabWindow.voidwindowMaximized(DockingWindow window) Called after the window that this listener is added to, or a child window of that window, has been maximized.voidwindowMaximizing(DockingWindow window) Called before the window that this listener is added to, or a child window of that window, is maximized.voidwindowMinimized(DockingWindow window) Called after the window that this listener is added to, or a child window of that window, has been minimized.voidwindowMinimizing(DockingWindow window) Called before the window that this listener is added to, or a child window of that window, is minimized.voidwindowRemoved(DockingWindow removedFromWindow, DockingWindow removedWindow) Called when a window has been removed.voidwindowRestored(DockingWindow window) Called after the window that this listener is added to, or a child window of that window, has been restored.voidwindowRestoring(DockingWindow window) Called before the window that this listener is added to, or a child window of that window, is restored.voidwindowShown(DockingWindow window) Called when a window is shown, for example when it is selected in a TabWindow.voidwindowUndocked(DockingWindow window) Called after the window that this listener is added to, or a child window of that window, has been undocked.voidwindowUndocking(DockingWindow window) Called before the window that this listener is added to, or a child window of that window, is undocked.
-
Constructor Details
-
DockingWindowAdapter
public DockingWindowAdapter()
-
-
Method Details
-
windowShown
Description copied from interface:DockingWindowListenerCalled when a window is shown, for example when it is selected in a TabWindow.- Specified by:
windowShownin interfaceDockingWindowListener- Parameters:
window- the window that was shown
-
windowHidden
Description copied from interface:DockingWindowListenerCalled when a window is hidden, for example when it is deselected in a TabWindow.- Specified by:
windowHiddenin interfaceDockingWindowListener- Parameters:
window- the window that was hidden
-
viewFocusChanged
Description copied from interface:DockingWindowListenerCalled when the focus moves from one view to another view.- Specified by:
viewFocusChangedin interfaceDockingWindowListener- Parameters:
previouslyFocusedView- the view that had focus before the focus moved, null means no view had focusfocusedView- the view that got focus, null means no view got focus
-
windowAdded
Description copied from interface:DockingWindowListenerCalled when a window has been added.- Specified by:
windowAddedin interfaceDockingWindowListener- Parameters:
addedToWindow- the parent window that the window was added toaddedWindow- the window that was added
-
windowRemoved
Description copied from interface:DockingWindowListenerCalled when a window has been removed.- Specified by:
windowRemovedin interfaceDockingWindowListener- Parameters:
removedFromWindow- the parent window that the window was removed fromremovedWindow- the window that was removed
-
windowClosing
Description copied from interface:DockingWindowListenerCalled before the window that this listener is added to, or a child window of that window, is closed.
Note that this method is only called when
DockingWindow.closeWithAbort()is called explicitly, not when a window is implicitly closed as a result of another method call. Throwing anOperationAbortedExceptionwill cause the close operation to be aborted.- Specified by:
windowClosingin interfaceDockingWindowListener- Parameters:
window- the window that is closing- Throws:
OperationAbortedException- if this exception is thrown the close operation will be aborted
-
windowClosed
Description copied from interface:DockingWindowListenerCalled after the window that this listener is added to, or a child window of that window, has been closed.
Note that this method is only called when
DockingWindow.close()orDockingWindow.closeWithAbort()is called explicitly, not when a window is implicitly closed as a result of another method call.- Specified by:
windowClosedin interfaceDockingWindowListener- Parameters:
window- the window that has been closed
-
windowUndocking
Description copied from interface:DockingWindowListenerCalled before the window that this listener is added to, or a child window of that window, is undocked.
Note that this method is only called when
DockingWindow.undockWithAbort(java.awt.Point)is called explicitly, not when a window is implicitly undocked as a result of another method call. Throwing anOperationAbortedExceptionwill cause the undock operation to be aborted.- Specified by:
windowUndockingin interfaceDockingWindowListener- Parameters:
window- the window that is undocking- Throws:
OperationAbortedException- if this exception is thrown the undock operation will be aborted
-
windowUndocked
Description copied from interface:DockingWindowListenerCalled after the window that this listener is added to, or a child window of that window, has been undocked.
This method is called when a window is undocked using
DockingWindow.undock(java.awt.Point),DockingWindow.undockWithAbort(java.awt.Point)or is added to a window that is undocked.- Specified by:
windowUndockedin interfaceDockingWindowListener- Parameters:
window- the window that has been undocked
-
windowDocking
Description copied from interface:DockingWindowListenerCalled before the window that this listener is added to, or a child window of that window, is docked.
Note: that this method is only called when
DockingWindow.dockWithAbort()is called explicitly, not when a window is implicitly docked as a result of another method call. Throwing anOperationAbortedExceptionwill cause the dock operation to be aborted.- Specified by:
windowDockingin interfaceDockingWindowListener- Parameters:
window- the window that is docking- Throws:
OperationAbortedException- if this exception is thrown the dock operation will be aborted i.e. no views in the window will be docked
-
windowDocked
Description copied from interface:DockingWindowListenerCalled when a view has been docked in the root window.
Note: If a window containing more than one view was docked then this method will be called for each view after all views have been docked.
- Specified by:
windowDockedin interfaceDockingWindowListener- Parameters:
window- the view that has been docked
-
windowMinimized
Description copied from interface:DockingWindowListenerCalled after the window that this listener is added to, or a child window of that window, has been minimized.- Specified by:
windowMinimizedin interfaceDockingWindowListener- Parameters:
window- the window that has been minimized
-
windowMaximized
Description copied from interface:DockingWindowListenerCalled after the window that this listener is added to, or a child window of that window, has been maximized.- Specified by:
windowMaximizedin interfaceDockingWindowListener- Parameters:
window- the window that has been maximized
-
windowRestored
Description copied from interface:DockingWindowListenerCalled after the window that this listener is added to, or a child window of that window, has been restored.
Note that this method is only called when
DockingWindow.restore()is called explicitly, not when a window is implicitly restored as a result of another method call.- Specified by:
windowRestoredin interfaceDockingWindowListener- Parameters:
window- the window that has been restored
-
windowMaximizing
Description copied from interface:DockingWindowListenerCalled before the window that this listener is added to, or a child window of that window, is maximized.
Note: that this method is only called when
DockingWindow.maximizeWithAbort()is called explicitly, not when a window is implicitly docked as a result of another method call. Throwing anOperationAbortedExceptionwill cause the maximize operation to be aborted.- Specified by:
windowMaximizingin interfaceDockingWindowListener- Parameters:
window- the window that is maximizing- Throws:
OperationAbortedException- if this exception is thrown the maximize operation will be aborted
-
windowMinimizing
Description copied from interface:DockingWindowListenerCalled before the window that this listener is added to, or a child window of that window, is minimized.
Note: that this method is only called when
DockingWindow.minimizeWithAbort()is called explicitly, not when a window is implicitly docked as a result of another method call. Throwing anOperationAbortedExceptionwill cause the minimize operation to be aborted.- Specified by:
windowMinimizingin interfaceDockingWindowListener- Parameters:
window- the window that is minimizing- Throws:
OperationAbortedException- if this exception is thrown the minimize operation will be aborted
-
windowRestoring
Description copied from interface:DockingWindowListenerCalled before the window that this listener is added to, or a child window of that window, is restored.
Note: that this method is only called when
DockingWindow.restoreWithAbort()is called explicitly, not when a window is implicitly restored as a result of another method call. Throwing anOperationAbortedExceptionwill cause the restore operation to be aborted.- Specified by:
windowRestoringin interfaceDockingWindowListener- Parameters:
window- the window that is restoring- Throws:
OperationAbortedException- if this exception is thrown the restore operation will be aborted
-