bibliothek.gui.dock.action
Class DockActionText

java.lang.Object
  extended by bibliothek.gui.dock.util.AbstractUIValue<String,TextValue>
      extended by bibliothek.gui.dock.util.text.TextValue
          extended by bibliothek.gui.dock.action.DockActionText
All Implemented Interfaces:
UIValue<String>

public abstract class DockActionText
extends TextValue

Represents a text that is used by a DockAction.

Author:
Benjamin Sigg

Field Summary
static Path KIND_DOCK_ACTION
          the kind of value this UIValue is
 
Fields inherited from class bibliothek.gui.dock.util.text.TextValue
KIND_TEXT
 
Constructor Summary
DockActionText(String id, DockAction action)
          Creates a new DockActionText.
DockActionText(String id, DockAction action, Path kind)
          Creates a new DockActionText.
 
Method Summary
 DockAction getAction()
          Gets the action which is using the icon.
 
Methods inherited from class bibliothek.gui.dock.util.text.TextValue
me, setController
 
Methods inherited from class bibliothek.gui.dock.util.AbstractUIValue
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KIND_DOCK_ACTION

public static final Path KIND_DOCK_ACTION
the kind of value this UIValue is

Constructor Detail

DockActionText

public DockActionText(String id,
                      DockAction action)
Creates a new DockActionText.

Parameters:
id - the unique identifier of the text
action - the action using the text

DockActionText

public DockActionText(String id,
                      DockAction action,
                      Path kind)
Creates a new DockActionText.

Parameters:
id - the unique identifier of the text
action - the action using the text
kind - what kind of UIValue this is
Method Detail

getAction

public DockAction getAction()
Gets the action which is using the icon.

Returns:
the action