bibliothek.extension.gui.dock.preference
Class PreferenceOperationText

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.PreferenceOperationText
All Implemented Interfaces:
UIValue<String>

public abstract class PreferenceOperationText
extends TextValue

A text that is used by a PreferenceOperation.

Author:
Benjamin Sigg

Field Summary
static Path KIND_OPERATION
          what kind of UIValue this is
 
Fields inherited from class bibliothek.gui.dock.util.text.TextValue
KIND_TEXT
 
Constructor Summary
PreferenceOperationText(String id, PreferenceOperation operation)
          Creates a new text.
 
Method Summary
 PreferenceOperation getOperation()
          Gets the element that 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_OPERATION

public static final Path KIND_OPERATION
what kind of UIValue this is

Constructor Detail

PreferenceOperationText

public PreferenceOperationText(String id,
                               PreferenceOperation operation)
Creates a new text.

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

getOperation

public PreferenceOperation getOperation()
Gets the element that is using this text.

Returns:
the element