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