public class PaintModeParameter extends uk.ac.starlink.task.ChoiceParameter<PaintMode>
| Constructor | Description |
|---|---|
PaintModeParameter(java.lang.String name,
GraphicExporter[] exporters) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
uk.ac.starlink.task.ChoiceParameter<GraphicExporter> |
getFormatParameter() |
Returns the parameter giving the graphics format to use.
|
uk.ac.starlink.task.OutputStreamParameter |
getOutputParameter() |
Returns the parameter determining the output stream (if any)
to use for the graphics output.
|
Painter |
painterValue(uk.ac.starlink.task.Environment env) |
Returns the value of this parameter as a Painter object.
|
void |
setValueFromPainter(uk.ac.starlink.task.Environment env,
Painter painter) |
Sets the value for this parameter directly from a painter object.
|
addOption, addOption, clearOptions, getName, getOption, getOptionNames, getOptions, getOptionValueList, getUsage, objectToString, setDefaultOption, setUsage, stringifyOption, stringToObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getValueClass, isNullPermitted, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setValue, setValueFromObject, setValueFromString, stringValue, toArray, toStringpublic PaintModeParameter(java.lang.String name,
GraphicExporter[] exporters)
name - parameter nameexporters - list of graphic exporters for file output optionspublic uk.ac.starlink.task.OutputStreamParameter getOutputParameter()
public uk.ac.starlink.task.ChoiceParameter<GraphicExporter> getFormatParameter()
public void setValueFromPainter(uk.ac.starlink.task.Environment env,
Painter painter)
throws uk.ac.starlink.task.TaskException
painter - value for parameteruk.ac.starlink.task.TaskExceptionpublic Painter painterValue(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
env - execution environmentuk.ac.starlink.task.TaskExceptionCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.