public class FontParameter extends StyleParameter<java.lang.String>
| Constructor and Description |
|---|
FontParameter(java.lang.String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Font |
fontValue(uk.ac.starlink.task.Environment env)
Returns the value of this parameter as a font.
|
uk.ac.starlink.task.Parameter[] |
getAssociatedParameters()
Returns parameters associated with this one which select other
font characteristics.
|
getOptionList, getUsage, setUsage, stringifyOptionaddOption, addOption, clearOptions, getName, getOption, getOptionNames, getOptions, getOptionValueList, objectToString, setDefaultOption, stringToObjectclearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getValueClass, isNullPermitted, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setValue, setValueFromObject, setValueFromString, stringValue, toArray, toStringpublic FontParameter(java.lang.String name)
name - parameter base namepublic uk.ac.starlink.task.Parameter[] getAssociatedParameters()
public java.awt.Font fontValue(uk.ac.starlink.task.Environment env)
throws uk.ac.starlink.task.TaskException
env - execution environmentuk.ac.starlink.task.TaskExceptionCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.