bibliothek.gui.dock.facile.action
Class RenameAction.RenameFlapDockStation

java.lang.Object
  extended by bibliothek.gui.dock.action.actions.AbstractStandardDockAction
      extended by bibliothek.gui.dock.action.actions.SimpleDockAction
          extended by bibliothek.gui.dock.action.actions.SimpleDropDownItemAction
              extended by bibliothek.gui.dock.action.actions.SimpleButtonAction
                  extended by bibliothek.gui.dock.facile.action.RenameAction
                      extended by bibliothek.gui.dock.facile.action.RenameAction.RenameFlapDockStation
All Implemented Interfaces:
SharingDropDownItemAction, SharingStandardDockAction, ButtonDockAction, DockAction, DropDownItemAction, StandardDockAction, StandardDropDownItemAction
Enclosing class:
RenameAction

@ClientOnly
public static class RenameAction.RenameFlapDockStation
extends RenameAction

An implementation of RenameAction that can handle FlapDockStations.

Author:
Benjamin Sigg

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.gui.dock.facile.action.RenameAction
RenameAction.RenameDefaultDockable, RenameAction.RenameFlapDockStation, RenameAction.RenameSplitDockStation, RenameAction.RenameStackDockStation
 
Field Summary
 
Fields inherited from class bibliothek.gui.dock.facile.action.RenameAction
KEY_ICON
 
Constructor Summary
RenameAction.RenameFlapDockStation(DockController controller)
          Creates a new action
 
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.facile.action.RenameAction
action, bound, unbound
 
Methods inherited from class bibliothek.gui.dock.action.actions.SimpleButtonAction
addActionListener, createView, getCommand, removeActionListener, setCommand, trigger
 
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, 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.dropdown.DropDownItemAction
isDropDownSelectable, isDropDownTriggerable
 
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
 

Constructor Detail

RenameAction.RenameFlapDockStation

public RenameAction.RenameFlapDockStation(DockController controller)
Creates a new action

Parameters:
controller - the controller to which a listener will be added
Method Detail

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 changed
text - The new title