bibliothek.gui.dock.common.action.util
Class CActionText

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.common.action.util.CActionText
All Implemented Interfaces:
UIValue<String>

public abstract class CActionText
extends TextValue

A text that is used by a CAction.

Author:
Benjamin Sigg

Field Summary
static Path KIND_CACTION
          what kind of UIValue this is
 
Fields inherited from class bibliothek.gui.dock.util.text.TextValue
KIND_TEXT
 
Constructor Summary
CActionText(String id, CAction action)
          Creates a new CActionText.
 
Method Summary
 CAction getAction()
          Gets the action which is using this text.
 
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_CACTION

public static final Path KIND_CACTION
what kind of UIValue this is

Constructor Detail

CActionText

public CActionText(String id,
                   CAction action)
Creates a new CActionText.

Parameters:
id - the unique identifier of this text
action - the action using the text
Method Detail

getAction

public CAction getAction()
Gets the action which is using this text.

Returns:
the action