public class EnumParameter<T> extends ObjectParameter<T>
LXParameter.Formatter, LXParameter.Polarity, LXParameter.Units
description
Constructor and Description |
---|
EnumParameter(String label,
T t) |
Modifier and Type | Method and Description |
---|---|
EnumParameter<T> |
addListener(LXParameterListener listener) |
T |
getEnum() |
EnumParameter<T> |
setDescription(String description) |
EnumParameter<T> |
setMappable(boolean mappable)
Sets whether this parameter should be eligible for MIDI/modulation mapping
or not.
|
getObject, getObjects, setObjects, setRange, setValue
decrement, decrement, decrement, decrement, getMaxValue, getMinValue, getNormalized, getNormalizedf, getOption, getOptions, getRange, getValuei, increment, increment, increment, increment, setNormalized, setOptions, setRange, updateValue
getExponent, isMappable, setExponent
bang, dispose, getDescription, getFormatter, getLabel, getParent, getPath, getPolarity, getUnits, getValue, getValuef, incrementValue, removeListener, reset, reset, setComponent, setFormatter, setPolarity, setUnits, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose, getDescription, getFormatter, getLabel, getPolarity, getUnits, getValue, getValuef, reset, setComponent, setValue
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter, getParent, getPath
public EnumParameter<T> setDescription(String description)
setDescription
in class ObjectParameter<T>
public EnumParameter<T> setMappable(boolean mappable)
LXParameter
setMappable
in interface LXParameter
setMappable
in class LXListenableNormalizedParameter
mappable
- Whether parameter should be available for mappingpublic EnumParameter<T> addListener(LXParameterListener listener)
addListener
in class LXListenableParameter
public T getEnum()
LX library by Mark C. Slee. © 2012-2020