|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.config.ConfigKey<T>
uk.ac.starlink.ttools.plot2.config.HiddenConfigKey<T>
public class HiddenConfigKey<T>
ConfigKey implementation which is not available for manipulation in the user interface. UI-related methods throw an UnsupportedOperationException.
Constructor Summary | |
---|---|
HiddenConfigKey(ConfigMeta meta,
Class<T> clazz,
T dflt)
Constructor. |
Method Summary | |
---|---|
Specifier<T> |
createSpecifier()
Throws UnsupportedOperationException. |
T |
stringToValue(String txt)
Throws UnsupportedOperationException. |
String |
valueToString(T value)
Throws UnsupportedOperationException. |
Methods inherited from class uk.ac.starlink.ttools.plot2.config.ConfigKey |
---|
cast, getDefaultValue, getMeta, getValueClass, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HiddenConfigKey(ConfigMeta meta, Class<T> clazz, T dflt)
meta
- metadataclazz
- value classdflt
- default valueMethod Detail |
---|
public Specifier<T> createSpecifier()
createSpecifier
in class ConfigKey<T>
public T stringToValue(String txt)
stringToValue
in class ConfigKey<T>
txt
- string representation of value
public String valueToString(T value)
valueToString
in class ConfigKey<T>
value
- possible value associated with this key
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |