public class MultiPointConfigKey extends OptionConfigKey<ErrorRenderer>
Constructor | Description |
---|---|
MultiPointConfigKey(ConfigMeta meta,
ErrorRenderer[] renderers,
ErrorMode[] modes) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
Specifier<ErrorRenderer> |
createSpecifier() |
Constructs a graphical control with which the user can
specify a suitable value for association with this key.
|
ErrorMode[] |
getErrorModes() |
Returns the error mode array used which combines with a renderer to
work out how to paint an icon.
|
java.lang.String |
getXmlDescription(ErrorRenderer renderer) |
Returns a description in XML of the given option value.
|
cast, getDefaultValue, getMeta, getValueClass, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addOptionsXml, getOptions, getOptionsXml, setOptionUsage, stringToValue, valueToString
public MultiPointConfigKey(ConfigMeta meta, ErrorRenderer[] renderers, ErrorMode[] modes)
meta
- metadatarenderers
- renderer optionsmodes
- error mode objects, used with renderers to draw iconpublic java.lang.String getXmlDescription(ErrorRenderer renderer)
OptionConfigKey
OptionConfigKey.valueToString(T)
,
is used by the OptionConfigKey.getOptionsXml()
method to assemble
a described list of the options.getXmlDescription
in class OptionConfigKey<ErrorRenderer>
renderer
- possible value of this keypublic ErrorMode[] getErrorModes()
public Specifier<ErrorRenderer> createSpecifier()
ConfigKey
createSpecifier
in class OptionConfigKey<ErrorRenderer>
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.