public class MultiPointConfigKey extends OptionConfigKey<MultiPointShape>
Constructor and Description |
---|
MultiPointConfigKey(ConfigMeta meta,
MultiPointShape[] shapes,
ErrorMode[] modes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Specifier<MultiPointShape> |
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 shape to
work out how to paint an icon.
|
String |
getXmlDescription(MultiPointShape shape)
Returns a description in XML of the given option value.
|
addOptionsXml, getOptions, getOptionsXml, setOptionUsage, stringToValue, valueToString
cast, getDefaultValue, getMeta, getValueClass, toString
public MultiPointConfigKey(ConfigMeta meta, MultiPointShape[] shapes, ErrorMode[] modes)
meta
- metadatashapes
- shape optionsmodes
- error mode objects, used with shapes to draw iconpublic String getXmlDescription(MultiPointShape shape)
OptionConfigKey
OptionConfigKey.valueToString(T)
,
is used by the OptionConfigKey.getOptionsXml()
method to assemble
a described list of the options.getXmlDescription
in class OptionConfigKey<MultiPointShape>
shape
- possible value of this keypublic ErrorMode[] getErrorModes()
public Specifier<MultiPointShape> createSpecifier()
ConfigKey
createSpecifier
in class OptionConfigKey<MultiPointShape>
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.