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)
CDockablePropertyListener
closeable
-property has
changed.closeableChanged
in interface CDockablePropertyListener
dockable
- the source of the eventpublic void resizeLockedChanged(CDockable dockable)
CDockablePropertyListener
CDockable.isResizeLockedHorizontally()
or
CDockable.isResizeLockedVertically()
-property has changed.resizeLockedChanged
in interface CDockablePropertyListener
dockable
- the source of the eventpublic void externalizableChanged(CDockable dockable)
CDockablePropertyListener
externalizable
-property
has changed.externalizableChanged
in interface CDockablePropertyListener
dockable
- the source of the eventpublic void maximizableChanged(CDockable dockable)
CDockablePropertyListener
maximizable
-property
has changed.maximizableChanged
in interface CDockablePropertyListener
dockable
- the source of the eventpublic void normalizeableChanged(CDockable dockable)
CDockablePropertyListener
CDockable.isNormalizeable()
-property has changed.normalizeableChanged
in interface CDockablePropertyListener
dockable
- the source of the eventpublic void minimizableChanged(CDockable dockable)
CDockablePropertyListener
minimizable
-property
has changed.minimizableChanged
in interface CDockablePropertyListener
dockable
- the source of the eventpublic void stickyChanged(CDockable dockable)
CDockablePropertyListener
CDockable.isSticky()
-property has changed.stickyChanged
in interface CDockablePropertyListener
dockable
- the source of the eventpublic void minimizeSizeChanged(CDockable dockable)
CDockablePropertyListener
CDockable.getMinimizedSize()
has changed.minimizeSizeChanged
in interface CDockablePropertyListener
dockable
- the source of the eventpublic void stickySwitchableChanged(CDockable dockable)
CDockablePropertyListener
CDockable.isStickySwitchable()
has changed.stickySwitchableChanged
in interface CDockablePropertyListener
dockable
- the source of the eventpublic void titleShownChanged(CDockable dockable)
CDockablePropertyListener
CDockable.isTitleShown()
has changed.titleShownChanged
in interface CDockablePropertyListener
dockable
- the source of the eventpublic void singleTabShownChanged(CDockable dockable)
CDockablePropertyListener
CDockable.isSingleTabShown()
has changed.singleTabShownChanged
in interface CDockablePropertyListener
dockable
- the source of the eventpublic void actionChanged(CDockable dockable, String key, CAction oldAction, CAction newAction)
CDockablePropertyListener
CDockable.getAction(String)
has been exchanged.actionChanged
in interface CDockablePropertyListener
dockable
- the source of the eventkey
- the name of the exchanged actionoldAction
- the old action, can be null
newAction
- the new action, can be null
public void visibilityChanged(CDockable dockable)
CDockableStateListener
visibility
-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 CDockableStateListener
dockable
- the source of the eventCDockable.isVisible()
,
CDockable.isShowing()
public void enabledChanged(CDockable dockable)
CDockablePropertyListener
CDockable.isEnabled(bibliothek.gui.dock.common.EnableableItem)
changed
for any argument.enabledChanged
in interface CDockablePropertyListener
dockable
- 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)
CDockableStateListener
extended mode
of dockable
changed.extendedModeChanged
in interface CDockableStateListener
dockable
- the element whose mode changedmode
- the new mode