bibliothek.extension.gui.dock.preference.preferences.choice
Class ChoiceEntryText
java.lang.Object
bibliothek.gui.dock.util.AbstractUIValue<java.lang.String,TextValue>
bibliothek.gui.dock.util.text.TextValue
bibliothek.extension.gui.dock.preference.preferences.choice.ChoiceText
bibliothek.extension.gui.dock.preference.preferences.choice.ChoiceEntryText
- All Implemented Interfaces:
- UIValue<java.lang.String>
public abstract class ChoiceEntryText
- extends ChoiceText
Represents a text that is used for an entry in a Choice
.
- Author:
- Benjamin Sigg
Fields inherited from class bibliothek.extension.gui.dock.preference.preferences.choice.ChoiceText |
KIND_CHOICE |
Method Summary |
abstract java.lang.String |
getEntryId()
Gets the unique identifier of the entry which is represented by this text. |
abstract java.lang.Object |
getEntryValue()
Gets the value which is described by the text |
Methods inherited from class bibliothek.extension.gui.dock.preference.preferences.choice.ChoiceText |
getChoice |
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_CHOICE_ENTRY
public static final Path KIND_CHOICE_ENTRY
- What kind of
UIValue
this is
ChoiceEntryText
public ChoiceEntryText(java.lang.String id,
Choice choice)
- Creates a new text
UIValue
- Parameters:
id
- the unique identifier of this UIValue
choice
- the choice which is using the text
getEntryId
public abstract java.lang.String getEntryId()
- Gets the unique identifier of the entry which is represented by this text.
- Returns:
- the unique identifier
getEntryValue
public abstract java.lang.Object getEntryValue()
- Gets the value which is described by the text
- Returns:
- the value, may be
null