|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.action.actions.AbstractStandardDockAction bibliothek.gui.dock.action.actions.SimpleDockAction bibliothek.gui.dock.action.actions.SimpleDropDownItemAction bibliothek.gui.dock.action.actions.SimpleSelectableAction bibliothek.gui.dock.action.actions.SimpleSelectableAction.Check bibliothek.gui.dock.action.StationChildrenActionSource.FocusAction
protected class StationChildrenActionSource.FocusAction
An action that can transfer the focus
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.action.actions.SimpleSelectableAction |
---|
SimpleSelectableAction.Check, SimpleSelectableAction.Radio |
Constructor Summary | |
---|---|
StationChildrenActionSource.FocusAction(Dockable dockable)
Creates a new action |
Method Summary | |
---|---|
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)
Will be invoked when a DockTitle was bound
to a Dockable . |
void |
titleExchanged(Dockable dockable,
DockTitle title)
Invoked when the properties of a Dockable have a so dramatically
changed, that the DockTitle title is no longer
considered a good title and should be replaced. |
void |
titleIconChanged(Dockable dockable,
javax.swing.Icon oldIcon,
javax.swing.Icon newIcon)
Invoked when the title-icon of a Dockable has changed |
void |
titleTextChanged(Dockable dockable,
java.lang.String oldTitle,
java.lang.String newTitle)
Invoked when the title of a Dockable has changed. |
void |
titleToolTipChanged(Dockable dockable,
java.lang.String oldToolTip,
java.lang.String newToolTip)
Called when the tooltip of a Dockable changed. |
void |
titleUnbound(Dockable dockable,
DockTitle title)
Will be invoked when a DockTitle was unbound
from a Dockable . |
void |
unbind(Dockable dockable)
Invoked only if the dockable was bound
to this DockAction, and if the dockable will no longer be
used for any method calls (except bind ) on
this DockAction. |
protected void |
unbound(Dockable dockable)
Called by this AbstractStandardDockAction when the Dockable
dockable will not be used in any means by this
action. |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleSelectableAction.Check |
---|
trigger |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleSelectableAction |
---|
addSelectableListener, createView, fireSelectedChanged, firstNonNull, getDisabledIcon, getDisabledSelectedIcon, getIcon, getSelectedIcon, isSelected, isSelected, removeSelectableListener, setDisabledSelectedIcon, setSelected, setSelected, setSelectedIcon |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDropDownItemAction |
---|
isDropDownSelectable, isDropDownSelectable, isDropDownTriggerable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDockAction |
---|
getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setText, setTooltip, trigger |
Methods inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction |
---|
addDockActionListener, fireActionDisabledIconChanged, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.action.dropdown.DropDownItemAction |
---|
isDropDownSelectable, isDropDownTriggerable |
Constructor Detail |
---|
public StationChildrenActionSource.FocusAction(Dockable dockable)
dockable
- the element to observeMethod Detail |
---|
public void bind(Dockable dockable)
DockAction
bind
in interface DockAction
bind
in class AbstractStandardDockAction
dockable
- the Dockable
that may be used in the futureDockAction.unbind(Dockable)
public void unbind(Dockable dockable)
DockAction
dockable
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 DockAction
unbind
in class AbstractStandardDockAction
dockable
- The Dockable
that will never be seen again, except
it is maybe bind
again.protected void bound(Dockable dockable)
AbstractStandardDockAction
AbstractStandardDockAction
when a Dockable
was bound to this action the first time.
bound
in class SimpleDockAction
dockable
- The Dockable that was not known to this action
before the method was invokedprotected void unbound(Dockable dockable)
AbstractStandardDockAction
AbstractStandardDockAction
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 SimpleDockAction
dockable
- The Dockable which will not by used in any way.public void titleIconChanged(Dockable dockable, javax.swing.Icon oldIcon, javax.swing.Icon newIcon)
DockableListener
Dockable
has changed
titleIconChanged
in interface DockableListener
dockable
- the Dockable
whose title is changedoldIcon
- the old icon, may be null
newIcon
- the new icon, may be null
public void titleTextChanged(Dockable dockable, java.lang.String oldTitle, java.lang.String newTitle)
DockableListener
Dockable
has changed.
titleTextChanged
in interface DockableListener
dockable
- the Dockable
whose title is changedoldTitle
- the title before the changenewTitle
- the title after the changepublic void titleToolTipChanged(Dockable dockable, java.lang.String oldToolTip, java.lang.String newToolTip)
DockableListener
Dockable
changed.
titleToolTipChanged
in interface DockableListener
dockable
- the dockable whose tooltip changedoldToolTip
- the old valuenewToolTip
- the new valuepublic void titleBound(Dockable dockable, DockTitle title)
DockableListener
DockTitle
was bound
to a Dockable
.
titleBound
in interface DockableListener
dockable
- the Dockable
whose title is settitle
- the new titlepublic void titleExchanged(Dockable dockable, DockTitle title)
DockableListener
Dockable
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 DockableListener
dockable
- 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)
DockableListener
DockTitle
was unbound
from a Dockable
.
titleUnbound
in interface DockableListener
dockable
- the Dockable
whose title was removedtitle
- the remove title
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |