Class HiddenConfigKey<T>
java.lang.Object
uk.ac.starlink.ttools.plot2.config.ConfigKey<T>
uk.ac.starlink.ttools.plot2.config.HiddenConfigKey<T>
ConfigKey implementation which is not available for manipulation in
the user interface. UI-related methods throw an
UnsupportedOperationException.
- Since:
- 25 Feb 2013
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThrows UnsupportedOperationException.stringToValue
(String txt) Throws UnsupportedOperationException.valueToString
(T value) Throws UnsupportedOperationException.Methods inherited from class uk.ac.starlink.ttools.plot2.config.ConfigKey
cast, getDefaultValue, getMeta, getValueClass, toString
-
Constructor Details
-
HiddenConfigKey
Constructor.- Parameters:
meta
- metadataclazz
- value classdflt
- default value
-
-
Method Details
-
createSpecifier
Throws UnsupportedOperationException.- Specified by:
createSpecifier
in classConfigKey<T>
- Returns:
- new specifier
-
stringToValue
Throws UnsupportedOperationException.- Specified by:
stringToValue
in classConfigKey<T>
- Parameters:
txt
- string representation of value- Returns:
- value
-
valueToString
Throws UnsupportedOperationException.- Specified by:
valueToString
in classConfigKey<T>
- Parameters:
value
- possible value associated with this key- Returns:
- string representation
-