Package heronarts.lx.parameter
Class CompoundObjectParameter<T>
java.lang.Object
heronarts.lx.parameter.LXListenableParameter
heronarts.lx.parameter.LXListenableNormalizedParameter
heronarts.lx.parameter.DiscreteParameter
heronarts.lx.parameter.CompoundDiscreteParameter
heronarts.lx.parameter.CompoundObjectParameter<T>
- All Implemented Interfaces:
LXPath,LXCompoundModulation.Target,LXNormalizedParameter,LXParameter
- Direct Known Subclasses:
CompoundEnumParameter
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.parameter.DiscreteParameter
DiscreteParameter.IncrementModeNested classes/interfaces inherited from interface heronarts.lx.parameter.LXNormalizedParameter
LXNormalizedParameter.OscModeNested classes/interfaces inherited from interface heronarts.lx.parameter.LXParameter
LXParameter.Collection, LXParameter.Formatter, LXParameter.Monitor, LXParameter.MultiMonitor, LXParameter.Polarity, LXParameter.Units -
Field Summary
Fields inherited from class heronarts.lx.parameter.CompoundDiscreteParameter
modulationsFields inherited from class heronarts.lx.parameter.DiscreteParameter
maxValue, minValue, optionsChanged, rangeFields inherited from class heronarts.lx.parameter.LXListenableParameter
descriptionFields inherited from interface heronarts.lx.LXPath
DEFAULT_SEPARATOR, ROOT, ROOT_PREFIX, ROOT_SLASH -
Constructor Summary
ConstructorsConstructorDescriptionCompoundObjectParameter(String label, T[] objects) CompoundObjectParameter(String label, T[] objects, String[] options) CompoundObjectParameter(String label, T[] objects, T value) CompoundObjectParameter(String label, T[] objects, T value, String[] options) -
Method Summary
Modifier and TypeMethodDescriptionT[]setDescription(String description) setObjects(T[] objects) Set a list of objects for the parametersetObjects(T[] objects, String[] options) setRange(int minValue, long maxValue) Sets the range from [minValue, maxValue-1] inclusiveMethods inherited from class heronarts.lx.parameter.CompoundDiscreteParameter
addModulation, addModulationListener, getBaseIndex, getBaseNormalized, getBaseValue, getBaseValuei, getModulations, getNormalized, getUIThreadModulations, getValue, removeModulation, removeModulationListener, setMappable, setUnits, setWrappableMethods inherited from class heronarts.lx.parameter.DiscreteParameter
decrement, decrement, decrement, decrement, getBaseOption, getIncrementMode, getIndex, getMaxValue, getMinValue, getOption, getOption, getOptions, getRange, getRangei, getValueFromNormalized, getValuei, increment, increment, increment, increment, normalizedToValue, setFormatter, setFormatter, setIncrementMode, setIndex, setNormalized, setOptions, setOptions, setOptions, setRange, setRange, updateValueMethods inherited from class heronarts.lx.parameter.LXListenableNormalizedParameter
getExponent, getNormalizedWithModulation, getOscMode, incrementNormalized, incrementNormalized, isWrappable, setExponent, setOscModeMethods inherited from class heronarts.lx.parameter.LXListenableParameter
addListener, addListener, bang, dispose, getDescription, getFormatter, getLabel, getParent, getParentParameter, getPath, getPolarity, getUnits, incrementValue, isDefault, isMappable, removeListener, reset, reset, setComponent, setPolarity, setValue, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface heronarts.lx.parameter.LXNormalizedParameter
getBaseNormalizedf, getExponent, getNormalizedf, getOscMode, getValueFromNormalized, isWrappable, setNormalizedMethods inherited from interface heronarts.lx.parameter.LXParameter
dispose, getBaseValuef, getFormatter, getLabel, getParentParameter, getPolarity, getUnits, getValuef, isMappable, reset, setComponent, setFormatter, setValueMethods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getDescription, getParent, getPath, isDescendant
-
Constructor Details
-
CompoundObjectParameter
-
CompoundObjectParameter
-
CompoundObjectParameter
-
CompoundObjectParameter
-
-
Method Details
-
setDescription
- Overrides:
setDescriptionin classCompoundDiscreteParameter
-
setObjects
Set a list of objects for the parameter- Parameters:
objects- Array of arbitrary object values- Returns:
- this
-
setObjects
-
setRange
Description copied from class:DiscreteParameterSets the range from [minValue, maxValue-1] inclusive- Overrides:
setRangein classDiscreteParameter- Parameters:
minValue- Minimum valuemaxValue- Maximum value, exclusive- Returns:
- this
-
setValue
-
getObjects
-
getObject
-
getBaseObject
-