public class StringParameter extends LXListenableParameter
LXParameter.Formatter, LXParameter.Polarity, LXParameter.Unitsdescription| Constructor and Description |
|---|
StringParameter(String label) |
StringParameter(String label,
String string) |
| Modifier and Type | Method and Description |
|---|---|
String |
getString() |
LXParameter |
reset()
A method to reset the value of the parameter, if a default is available.
|
LXParameter |
reset(double value)
Resets the value of the parameter, giving it a new default.
|
StringParameter |
setDescription(String description) |
StringParameter |
setValue(String string) |
protected double |
updateValue(double value)
Invoked when the value has changed.
|
addListener, bang, dispose, getDescription, getFormatter, getLabel, getParent, getPath, getPolarity, getUnits, getValue, getValuef, incrementValue, isMappable, removeListener, setComponent, setFormatter, setMappable, setPolarity, setUnits, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameterpublic StringParameter(String label)
public StringParameter setDescription(String description)
setDescription in class LXListenableParameterpublic LXParameter reset()
LXParameterreset in interface LXParameterreset in class LXListenableParameterpublic LXParameter reset(double value)
LXListenableParameterreset in class LXListenableParametervalue - New default valuepublic StringParameter setValue(String string)
protected double updateValue(double value)
LXListenableParameterupdateValue in class LXListenableParametervalue - New valuepublic String getString()
LX library by Mark C. Slee. © 2012-2020