bibliothek.extension.gui.dock.preference
Class PreferenceModelText

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

public abstract class PreferenceModelText
extends TextValue

A text that is used by a PreferenceModel.

Author:
Benjamin Sigg

Field Summary
static Path KIND_PREFERENCE_MODEL
          what kind of UIValue this is
 
Fields inherited from class bibliothek.gui.dock.util.text.TextValue
KIND_TEXT
 
Constructor Summary
PreferenceModelText(String id, PreferenceModel model)
          Creates a new text.
 
Method Summary
 PreferenceModel getModel()
          Gets the model 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_PREFERENCE_MODEL

public static final Path KIND_PREFERENCE_MODEL
what kind of UIValue this is

Constructor Detail

PreferenceModelText

public PreferenceModelText(String id,
                           PreferenceModel model)
Creates a new text.

Parameters:
id - the unique identifier of this UIValue
model - the model that is using this text
Method Detail

getModel

public PreferenceModel getModel()
Gets the model which is using this text.

Returns:
the model