public class FontParameter extends StyleParameter<String>
Constructor and Description |
---|
FontParameter(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Font |
fontValue(Environment env)
Returns the value of this parameter as a font.
|
Parameter<?>[] |
getAssociatedParameters()
Returns parameters associated with this one which select other
font characteristics.
|
getOptionList, getUsage, setUsage, stringifyOption
objectToString, setDefaultOption, stringToObject
addOption, addOption, choiceToString, clearOptions, getName, getOption, getOptionNames, getOptions, getOptionValueList, stringToChoice
clearValue, getDescription, getName, getPosition, getPreferExplicit, getPrompt, getStringDefault, getValueClass, isNullPermitted, objectValue, setDescription, setDescription, setName, setNullPermitted, setPosition, setPreferExplicit, setPrompt, setStringDefault, setValue, setValueFromObject, setValueFromString, stringValue, toArray, toString
public FontParameter(String name)
name
- parameter base namepublic Parameter<?>[] getAssociatedParameters()
public Font fontValue(Environment env) throws TaskException
env
- execution environmentTaskException
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.