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, stringToObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getValueClass, isNullPermitted, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setValue, setValueFromObject, setValueFromString, stringValue, toArray, toString
getOptionList, getUsage, setUsage, stringifyOption
public 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.TaskException
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.