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, wait
dispose, getDescription, getFormatter, getPolarity, getUnits, isMappable, setComponent, setMappable
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter, getParent, getPath
protected abstract LXParameter getRealParameter()
public final LXParameter reset()
LXParameter
reset
in interface LXParameter
public final LXParameter setValue(double value)
LXParameter
setValue
in interface LXParameter
value
- The valuepublic double getValue()
LXParameter
getValue
in interface LXParameter
public float getValuef()
LXParameter
getValuef
in interface LXParameter
public String getLabel()
LXParameter
getLabel
in interface LXPath
getLabel
in interface LXParameter
LX library by Mark C. Slee. © 2012-2020