public abstract class LXListenableNormalizedParameter extends LXListenableParameter implements LXNormalizedParameter
LXParameter.Formatter, LXParameter.Polarity, LXParameter.Unitsdescription| Modifier | Constructor and Description |
|---|---|
protected |
LXListenableNormalizedParameter(String label,
double value) |
| Modifier and Type | Method and Description |
|---|---|
double |
getExponent()
Gets the exponent used for scaling this parameter across its normalized range.
|
boolean |
isMappable()
Whether this parameter should be eligible for mapping via MIDI or
modulation control.
|
LXListenableNormalizedParameter |
setExponent(double exponent) |
LXListenableNormalizedParameter |
setMappable(boolean mappable)
Sets whether this parameter should be eligible for MIDI/modulation mapping
or not.
|
addListener, bang, dispose, getDescription, getFormatter, getLabel, getParent, getPath, getPolarity, getUnits, getValue, getValuef, incrementValue, removeListener, reset, reset, setComponent, setDescription, setFormatter, setPolarity, setUnits, setValue, updateValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNormalized, getNormalizedf, setNormalizeddispose, getDescription, getFormatter, getLabel, getPolarity, getUnits, getValue, getValuef, reset, setComponent, setValueget, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter, getParent, getPathprotected LXListenableNormalizedParameter(String label, double value)
public LXListenableNormalizedParameter setExponent(double exponent)
public double getExponent()
LXNormalizedParametergetExponent in interface LXNormalizedParameterpublic LXListenableNormalizedParameter setMappable(boolean mappable)
LXParametersetMappable in interface LXParametersetMappable in class LXListenableParametermappable - Whether parameter should be available for mappingpublic boolean isMappable()
LXParameterisMappable in interface LXParameterisMappable in class LXListenableParametertrue if mappable, false if otherwiseLX library by Mark C. Slee. © 2012-2020