protected class StationChildrenActionSource.FocusAction extends SimpleSelectableAction.Check implements DockableListener
SimpleSelectableAction.Check, SimpleSelectableAction.Radio| Constructor and Description |
|---|
FocusAction(Dockable dockable)
Creates a new action
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Dockable dockable)
Informs this DockAction that icons, text, and other stuff like that,
will be requested from this DockAction.
|
protected void |
bound(Dockable dockable)
Invoked by this
AbstractStandardDockAction when a Dockable
was bound to this action the first time. |
void |
titleBound(Dockable dockable,
DockTitle title)
|
void |
titleExchanged(Dockable dockable,
DockTitle title)
|
void |
titleIconChanged(Dockable dockable,
Icon oldIcon,
Icon newIcon)
Invoked when the title-icon of a
Dockable has changed |
void |
titleTextChanged(Dockable dockable,
String oldTitle,
String newTitle)
Invoked when the title of a
Dockable has changed. |
void |
titleToolTipChanged(Dockable dockable,
String oldToolTip,
String newToolTip)
Called when the tooltip of a
Dockable changed. |
void |
titleUnbound(Dockable dockable,
DockTitle title)
|
void |
unbind(Dockable dockable)
|
protected void |
unbound(Dockable dockable)
Called by this
AbstractStandardDockAction when the Dockable
dockable will not be used in any means by this
action. |
triggeraddSelectableListener, createView, fireSelectedChanged, firstNonNull, getDisabledSelectedIcon, getIcon, getIconContexts, getSelectedIcon, getSelectedIcon, isSelected, isSelected, removeSelectableListener, setDisabledSelectedIcon, setSelected, setSelected, setSelectedIcon, setSelectedIconisDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelectedgetAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getText, getText, getTooltip, getTooltipText, getTooltipText, isAcceleratorGlobal, isEnabled, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, triggeraddDockActionListener, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelectedgetAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isAcceleratorGlobal, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltipisDropDownSelectable, isDropDownTriggerablepublic FocusAction(Dockable dockable)
dockable - the element to observepublic void bind(Dockable dockable)
DockActionbind in interface DockActionbind in class AbstractStandardDockActiondockable - the Dockable that may be used in the futureDockAction.unbind(Dockable)public void unbind(Dockable dockable)
DockActiondockable was bound
to this DockAction, and if the dockable will no longer be
used for any method calls (except bind) on
this DockAction.unbind in interface DockActionunbind in class AbstractStandardDockActiondockable - The Dockable that will never be seen again, except
it is maybe bind again.protected void bound(Dockable dockable)
AbstractStandardDockActionAbstractStandardDockAction when a Dockable
was bound to this action the first time.bound in class SimpleDockActiondockable - The Dockable that was not known to this action
before the method was invokedprotected void unbound(Dockable dockable)
AbstractStandardDockActionAbstractStandardDockAction when the Dockable
dockable will not be used in any means by this
action. Note that the AbstractStandardDockAction.bound(Dockable)-method can be
invoked again with the dockable.unbound in class SimpleDockActiondockable - The Dockable which will not by used in any way.public void titleIconChanged(Dockable dockable, Icon oldIcon, Icon newIcon)
DockableListenerDockable has changedtitleIconChanged in interface DockableListenerdockable - the Dockable whose title is changedoldIcon - the old icon, may be nullnewIcon - the new icon, may be nullpublic void titleTextChanged(Dockable dockable, String oldTitle, String newTitle)
DockableListenerDockable has changed.titleTextChanged in interface DockableListenerdockable - the Dockable whose title is changedoldTitle - the title before the changenewTitle - the title after the changepublic void titleToolTipChanged(Dockable dockable, String oldToolTip, String newToolTip)
DockableListenerDockable changed.titleToolTipChanged in interface DockableListenerdockable - the dockable whose tooltip changedoldToolTip - the old valuenewToolTip - the new valuepublic void titleBound(Dockable dockable, DockTitle title)
DockableListenertitleBound in interface DockableListenerdockable - the Dockable whose title is settitle - the new titlepublic void titleExchanged(Dockable dockable, DockTitle title)
DockableListenerDockable have a so dramatically
changed, that the DockTitle title is no longer
considered a good title and should be replaced. The one element which shows
title should unbind it, and request a new title.titleExchanged in interface DockableListenerdockable - the source of the eventtitle - the title that should be discarded, can be null
to alert elements which do show the null-titlepublic void titleUnbound(Dockable dockable, DockTitle title)
DockableListenertitleUnbound in interface DockableListenerdockable - the Dockable whose title was removedtitle - the remove titleCopyright © 2017 Docking Frames. All rights reserved.