public class OptionalConfigSpecifier extends ConfigSpecifier
This is quite like AutoConfigSpecifier
, but the override value is
not reflected in the GUI. Perhaps the two classes should be combined?
ConfigSpecifier.ComponentGui
Constructor | Description |
---|---|
OptionalConfigSpecifier(uk.ac.starlink.ttools.plot2.config.ConfigKey<?>[] allKeys,
uk.ac.starlink.ttools.plot2.config.ConfigKey<?>[] optKeys,
java.lang.String optionText) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
configureFrom(OptionalConfigSpecifier template) |
Configures this specifier with the current state of a supplied template.
|
uk.ac.starlink.ttools.plot2.config.ConfigMap |
getSpecifiedValue() |
checkConfig, checkRangeSense, createComponent, getConfigKeys, getSpecifier, reportError, setSpecifiedValue, submitReport
public OptionalConfigSpecifier(uk.ac.starlink.ttools.plot2.config.ConfigKey<?>[] allKeys, uk.ac.starlink.ttools.plot2.config.ConfigKey<?>[] optKeys, java.lang.String optionText)
allKeys
- all of the keysoptKeys
- subset of allKeys which should be annotated with
activation checkboxes; any entries not contained
in allKeys are ignoredoptionText
- text to annotate the checkboxespublic uk.ac.starlink.ttools.plot2.config.ConfigMap getSpecifiedValue()
getSpecifiedValue
in class ConfigSpecifier
public void configureFrom(OptionalConfigSpecifier template)
template
- specifier supplying required configurationCopyright ? 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.