public abstract class LXListenableNormalizedParameter extends LXListenableParameter implements LXNormalizedParameter
LXParameter.Formatter, LXParameter.Polarity, LXParameter.Units
description
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, updateValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNormalized, getNormalizedf, setNormalized
dispose, getDescription, getFormatter, getLabel, getPolarity, getUnits, getValue, getValuef, reset, setComponent, setValue
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter, getParent, getPath
protected LXListenableNormalizedParameter(String label, double value)
public LXListenableNormalizedParameter setExponent(double exponent)
public double getExponent()
LXNormalizedParameter
getExponent
in interface LXNormalizedParameter
public LXListenableNormalizedParameter setMappable(boolean mappable)
LXParameter
setMappable
in interface LXParameter
setMappable
in class LXListenableParameter
mappable
- Whether parameter should be available for mappingpublic boolean isMappable()
LXParameter
isMappable
in interface LXParameter
isMappable
in class LXListenableParameter
true
if mappable, false if otherwiseLX library by Mark C. Slee. © 2012-2020