public class CDockableAdapter extends Object implements CDockableStateListener, CDockablePropertyListener
CDockableStateListener
and CDockablePropertyListener.
The methods have an empty body and can be overridden by subclasses.| Constructor and Description |
|---|
CDockableAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionChanged(CDockable dockable,
String key,
CAction oldAction,
CAction newAction)
Called when an action that is returned by
CDockable.getAction(String)
has been exchanged. |
void |
closeableChanged(CDockable dockable)
Called when the
closeable-property has
changed. |
void |
enabledChanged(CDockable dockable)
Called if the result of
CDockable.isEnabled(bibliothek.gui.dock.common.EnableableItem) changed
for any argument. |
void |
extendedModeChanged(CDockable dockable,
ExtendedMode mode)
Called if the
extended mode of dockable
changed. |
void |
externalizableChanged(CDockable dockable)
Called when the
externalizable-property
has changed. |
void |
externalized(CDockable dockable)
Called when the
dockable has been externalized. |
void |
maximizableChanged(CDockable dockable)
Called when the
maximizable-property
has changed. |
void |
maximized(CDockable dockable)
Called when the
dockable has been maximized. |
void |
minimizableChanged(CDockable dockable)
Called when the
minimizable-property
has changed. |
void |
minimized(CDockable dockable)
Called when the
dockable has been minimized. |
void |
minimizeSizeChanged(CDockable dockable)
Called when the property
CDockable.getMinimizedSize() has changed. |
void |
modeChanged(CDockable dockable,
ExtendedMode mode)
Called by
extendedModeChanged(CDockable, ExtendedMode) if none of the
default modes was selected |
void |
normalizeableChanged(CDockable dockable)
Called when the
CDockable.isNormalizeable()-property has changed. |
void |
normalized(CDockable dockable)
Called when the
dockable has been normalized. |
void |
resizeLockedChanged(CDockable dockable)
Called when the
CDockable.isResizeLockedHorizontally() or
CDockable.isResizeLockedVertically()-property has changed. |
void |
singleTabShownChanged(CDockable dockable)
Called when the property
CDockable.isSingleTabShown() has changed. |
void |
stickyChanged(CDockable dockable)
Called when the
CDockable.isSticky()-property has changed. |
void |
stickySwitchableChanged(CDockable dockable)
Called when the property
CDockable.isStickySwitchable() has changed. |
void |
titleShownChanged(CDockable dockable)
Called when the property
CDockable.isTitleShown() has changed. |
void |
visibilityChanged(CDockable dockable)
Called when the
visibility-property
changed. |
public void closeableChanged(CDockable dockable)
CDockablePropertyListenercloseable-property has
changed.closeableChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void resizeLockedChanged(CDockable dockable)
CDockablePropertyListenerCDockable.isResizeLockedHorizontally() or
CDockable.isResizeLockedVertically()-property has changed.resizeLockedChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void externalizableChanged(CDockable dockable)
CDockablePropertyListenerexternalizable-property
has changed.externalizableChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void maximizableChanged(CDockable dockable)
CDockablePropertyListenermaximizable-property
has changed.maximizableChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void normalizeableChanged(CDockable dockable)
CDockablePropertyListenerCDockable.isNormalizeable()-property has changed.normalizeableChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void minimizableChanged(CDockable dockable)
CDockablePropertyListenerminimizable-property
has changed.minimizableChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void stickyChanged(CDockable dockable)
CDockablePropertyListenerCDockable.isSticky()-property has changed.stickyChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void minimizeSizeChanged(CDockable dockable)
CDockablePropertyListenerCDockable.getMinimizedSize() has changed.minimizeSizeChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void stickySwitchableChanged(CDockable dockable)
CDockablePropertyListenerCDockable.isStickySwitchable() has changed.stickySwitchableChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void titleShownChanged(CDockable dockable)
CDockablePropertyListenerCDockable.isTitleShown() has changed.titleShownChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void singleTabShownChanged(CDockable dockable)
CDockablePropertyListenerCDockable.isSingleTabShown() has changed.singleTabShownChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void actionChanged(CDockable dockable, String key, CAction oldAction, CAction newAction)
CDockablePropertyListenerCDockable.getAction(String)
has been exchanged.actionChanged in interface CDockablePropertyListenerdockable - the source of the eventkey - the name of the exchanged actionoldAction - the old action, can be nullnewAction - the new action, can be nullpublic void visibilityChanged(CDockable dockable)
CDockableStateListenervisibility-property
changed. Please read the notes of CDockable.isVisible() to
learn more about the exact meaning of visibility in the context of a
CDockable.Dockable or not should use
a CDockableLocationListener.visibilityChanged in interface CDockableStateListenerdockable - the source of the eventCDockable.isVisible(),
CDockable.isShowing()public void enabledChanged(CDockable dockable)
CDockablePropertyListenerCDockable.isEnabled(bibliothek.gui.dock.common.EnableableItem) changed
for any argument.enabledChanged in interface CDockablePropertyListenerdockable - the source of the eventpublic void minimized(CDockable dockable)
dockable has been minimized.dockable - the source of the eventpublic void maximized(CDockable dockable)
dockable has been maximized.dockable - the source of the eventpublic void normalized(CDockable dockable)
dockable has been normalized.dockable - the source of the eventpublic void externalized(CDockable dockable)
dockable has been externalized.dockable - the source of the eventpublic void modeChanged(CDockable dockable, ExtendedMode mode)
extendedModeChanged(CDockable, ExtendedMode) if none of the
default modes was selecteddockable - the element whose mode changedmode - the new modepublic void extendedModeChanged(CDockable dockable, ExtendedMode mode)
CDockableStateListenerextended mode of dockable
changed.extendedModeChanged in interface CDockableStateListenerdockable - the element whose mode changedmode - the new modeCopyright © 2018. All rights reserved.