bibliothek.gui.dock.action
Class DockActionText
java.lang.Object
bibliothek.gui.dock.util.AbstractUIValue<String,TextValue>
bibliothek.gui.dock.util.text.TextValue
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
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 |
KIND_DOCK_ACTION
public static final Path KIND_DOCK_ACTION
- the kind of value this
UIValue
is
DockActionText
public DockActionText(String id,
DockAction action)
- Creates a new
DockActionText
.
- Parameters:
id
- the unique identifier of the textaction
- 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 textaction
- the action using the textkind
- what kind of UIValue
this is
getAction
public DockAction getAction()
- Gets the action which is using the icon.
- Returns:
- the action