Package heronarts.lx.modulation
Interface LXCompoundModulation.Target
- All Superinterfaces:
LXNormalizedParameter
,LXParameter
,LXPath
- All Known Implementing Classes:
CompoundDiscreteParameter
,CompoundEnumParameter
,CompoundObjectParameter
,CompoundParameter
- Enclosing class:
- LXCompoundModulation
A parameter type that can receive compound modulation. The
canonical examples of this are CompoundParameter and
CompoundDiscreteParameter.
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.parameter.LXNormalizedParameter
LXNormalizedParameter.OscMode
Nested 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 interface heronarts.lx.LXPath
ROOT, ROOT_PREFIX, ROOT_SLASH
-
Method Summary
Modifier and TypeMethodDescriptionaddModulation
(LXCompoundModulation modulation) Add a modulation to this parameterAdds a listener to the modulation targetGet the list of modulations applied to this parameterremoveModulation
(LXCompoundModulation modulation) Remove a modulation fromthis parameterRemoves a listener from the modulation targetMethods inherited from interface heronarts.lx.parameter.LXNormalizedParameter
getBaseNormalized, getBaseNormalizedf, getExponent, getNormalized, getNormalizedf, getOscMode, getValueFromNormalized, isWrappable, setNormalized
Methods inherited from interface heronarts.lx.parameter.LXParameter
dispose, getBaseValue, getBaseValuef, getFormatter, getLabel, getParentParameter, getPolarity, getUnits, getValue, getValuef, isMappable, reset, setComponent, setFormatter, setMappable, setValue
Methods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getDescription, getParent, getPath, isDescendant
-
Method Details
-
getModulations
List<LXCompoundModulation> getModulations()Get the list of modulations applied to this parameter- Returns:
- List of modulations applied to this parameter
-
addModulation
Add a modulation to this parameter- Parameters:
modulation
- Modulation to add- Returns:
- The parameter
-
removeModulation
Remove a modulation fromthis parameter- Parameters:
modulation
- Modulation to remove- Returns:
- The parameter
-
addModulationListener
Adds a listener to the modulation target- Parameters:
listener
- Listener- Returns:
- The target
-
removeModulationListener
Removes a listener from the modulation target- Parameters:
listener
- Listener- Returns:
- The target
-