public class FontParameter extends StyleParameter<java.lang.String>
| Constructor | Description |
|---|---|
FontParameter(java.lang.String name) |
Constructor.
|
| Modifier and Type | Method | 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.
|
addOption, addOption, clearOptions, getName, getOption, getOptionNames, getOptions, getOptionValueList, objectToString, setDefaultOption, 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, toStringgetOptionList, getUsage, setUsage, stringifyOptionpublic 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 © 2018 Central Laboratory of the Research Councils. All Rights Reserved.