|
|||||||||
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.OptionConfigKey<ErrorRenderer>
uk.ac.starlink.ttools.plot2.config.MultiPointConfigKey
public class MultiPointConfigKey
Config key that specifies a multi-point renderer. This goes by the name of an ErrorRenderer, but is just an object that draws some shape based on multiple data positions.
Constructor Summary | |
---|---|
MultiPointConfigKey(ConfigMeta meta,
ErrorRenderer[] renderers,
ErrorMode[] modes)
Constructor. |
Method Summary | |
---|---|
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. |
String |
getXmlDescription(ErrorRenderer renderer)
Returns a description in XML of the given option value. |
Methods inherited from class uk.ac.starlink.ttools.plot2.config.OptionConfigKey |
---|
addOptionsXml, getOptions, getOptionsXml, setOptionUsage, stringToValue, valueToString |
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 MultiPointConfigKey(ConfigMeta meta, ErrorRenderer[] renderers, ErrorMode[] modes)
meta
- metadatarenderers
- renderer optionsmodes
- error mode objects, used with renderers to draw iconMethod Detail |
---|
public 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 key
public ErrorMode[] getErrorModes()
public Specifier<ErrorRenderer> createSpecifier()
ConfigKey
createSpecifier
in class OptionConfigKey<ErrorRenderer>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |