bibliothek.gui.dock.facile.action
Class RenameAction.RenameSplitDockStation
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.SimpleButtonAction
bibliothek.gui.dock.facile.action.RenameAction
bibliothek.gui.dock.facile.action.RenameAction.RenameSplitDockStation
- All Implemented Interfaces:
- SharingDropDownItemAction, SharingStandardDockAction, ButtonDockAction, DockAction, DropDownItemAction, StandardDockAction, StandardDropDownItemAction
- Enclosing class:
- RenameAction
@ClientOnly
public static class RenameAction.RenameSplitDockStation
- extends RenameAction
An implementation of RenameAction
that can handle
SplitDockStations
.
- Author:
- Benjamin Sigg
Method Summary |
protected void |
rename(Dockable dock,
String text)
Invoked when the action was triggered, and the user tipped in
the new title for dockable . |
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDockAction |
getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, trigger |
Methods inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction |
addDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbind |
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.actions.SharingStandardDockAction |
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip |
RenameAction.RenameSplitDockStation
public RenameAction.RenameSplitDockStation(DockController controller)
- Creates a new action
- Parameters:
controller
- the controller to which a listener will be added
rename
protected void rename(Dockable dock,
String text)
- Description copied from class:
RenameAction
- Invoked when the action was triggered, and the user tipped in
the new title for
dockable
.
- Specified by:
rename
in class RenameAction
- Parameters:
dock
- The Dockable
whose title should be changedtext
- The new title