public class StringParameter extends LXListenableParameter
LXParameter.Formatter, LXParameter.Polarity, LXParameter.Units
description
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, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter
public StringParameter(String label)
public StringParameter setDescription(String description)
setDescription
in class LXListenableParameter
public LXParameter reset()
LXParameter
reset
in interface LXParameter
reset
in class LXListenableParameter
public LXParameter reset(double value)
LXListenableParameter
reset
in class LXListenableParameter
value
- New default valuepublic StringParameter setValue(String string)
protected double updateValue(double value)
LXListenableParameter
updateValue
in class LXListenableParameter
value
- New valuepublic String getString()
LX library by Mark C. Slee. © 2012-2020