public abstract class LXVirtualParameter extends Object implements LXParameter
LXParameter.Formatter, LXParameter.Polarity, LXParameter.Units| Constructor and Description |
|---|
LXVirtualParameter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
Gets the label for this parameter
|
protected abstract LXParameter |
getRealParameter()
The parameter to operate on.
|
double |
getValue()
Retrieves the value of the parameter
|
float |
getValuef()
Utility helper function to get the value of the parameter as a float.
|
LXParameter |
reset()
A method to reset the value of the parameter, if a default is available.
|
LXParameter |
setValue(double value)
Sets the value of the parameter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, getDescription, getFormatter, getPolarity, getUnits, isMappable, setComponent, setMappableget, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter, getParent, getPathprotected abstract LXParameter getRealParameter()
public final LXParameter reset()
LXParameterreset in interface LXParameterpublic final LXParameter setValue(double value)
LXParametersetValue in interface LXParametervalue - The valuepublic double getValue()
LXParametergetValue in interface LXParameterpublic float getValuef()
LXParametergetValuef in interface LXParameterpublic String getLabel()
LXParametergetLabel in interface LXPathgetLabel in interface LXParameterLX library by Mark C. Slee. © 2012-2020