uk.ac.starlink.ttools.plot2.config.Specifier<uk.ac.starlink.ttools.plot2.config.ConfigMap>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, submitReportpublic 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 interface uk.ac.starlink.ttools.plot2.config.Specifier<uk.ac.starlink.ttools.plot2.config.ConfigMap>getSpecifiedValue in class ConfigSpecifierpublic void configureFrom(OptionalConfigSpecifier template)
template - specifier supplying required configurationCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.