bibliothek.gui.dock.util.text
Class TextValue

java.lang.Object
  extended by bibliothek.gui.dock.util.AbstractUIValue<java.lang.String,TextValue>
      extended by bibliothek.gui.dock.util.text.TextValue
All Implemented Interfaces:
UIValue<java.lang.String>
Direct Known Subclasses:
CActionText, ChoiceText, DialogText, DockActionText, EditorText, MenuPieceText, PreferenceModelText, PreferenceOperationText, PreferenceText, SwingActionText, ThemeFactoryText

public abstract class TextValue
extends AbstractUIValue<java.lang.String,TextValue>

An observer to a TextManager.

Author:
Benjamin Sigg

Field Summary
static Path KIND_TEXT
          What kind of UIValue this is
 
Constructor Summary
TextValue(java.lang.String id, Path kind)
          Creates a new TextValue.
TextValue(java.lang.String id, Path kind, java.lang.String backup)
          Creates a new TextValue.
 
Method Summary
protected  TextValue me()
          Returns this.
 void setController(DockController controller)
          Sets the IconManager of controller
 
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_TEXT

public static final Path KIND_TEXT
What kind of UIValue this is

Constructor Detail

TextValue

public TextValue(java.lang.String id,
                 Path kind)
Creates a new TextValue.

Parameters:
id - the unique identifier of this string
kind - what kind of UIValue this is

TextValue

public TextValue(java.lang.String id,
                 Path kind,
                 java.lang.String backup)
Creates a new TextValue.

Parameters:
id - the unique identifier of this string
kind - what kind of UIValue this is
backup - the string to be used if no other string is found
Method Detail

setController

public void setController(DockController controller)
Sets the IconManager of controller

Parameters:
controller - the controller to observe, can be null

me

protected TextValue me()
Description copied from class: AbstractUIValue
Returns this. This method can only be implemented when the generic boundaries are met, so this methods ensures that this is really an U, or abstract.

Specified by:
me in class AbstractUIValue<java.lang.String,TextValue>
Returns:
this