Package heronarts.lx.modulation
Class LXTriggerModulation
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.modulation.LXParameterModulation
heronarts.lx.modulation.LXTriggerModulation
- All Implemented Interfaces:
LXPath,LXSerializable,LXParameterListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enumNested classes/interfaces inherited from class heronarts.lx.modulation.LXParameterModulation
LXParameterModulation.CircularDependencyException, LXParameterModulation.InvalidScopeException, LXParameterModulation.ModulationExceptionNested classes/interfaces inherited from class heronarts.lx.LXComponent
LXComponent.Description, LXComponent.Hidden, LXComponent.Name, LXComponent.Placeholder, LXComponent.PluginRequired, LXComponent.RenamableNested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
FieldsFields inherited from class heronarts.lx.modulation.LXParameterModulation
clr, color, enabled, index, KEY_SOURCE, KEY_TARGET, scopeFields inherited from class heronarts.lx.LXComponent
childArrays, children, internalParameters, KEY_CHILDREN, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_INTERNAL, KEY_PARAMETER_PATH, KEY_PARAMETERS, KEY_PATH, KEY_RESET, label, legacyInternalParameters, legacyParameters, lx, modulationColor, modulationControlsExpanded, modulationsExpanded, parameters, presetFileFields inherited from interface heronarts.lx.LXPath
DEFAULT_SEPARATOR, ROOT, ROOT_PREFIX, ROOT_SLASH -
Constructor Summary
ConstructorsConstructorDescriptionLXTriggerModulation(LX lx, LXModulationEngine scope, JsonObject obj) LXTriggerModulation(LXModulationEngine scope, BooleanParameter source, BooleanParameter target) -
Method Summary
Methods inherited from class heronarts.lx.modulation.LXParameterModulation
getIndex, getLabel, getParameter, getTarget, save, setIndexMethods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameter, addParameters, assertDisposed, contains, copyParameters, getCategory, getChild, getComponentDescription, getComponentName, getComponentName, getComponentName, getDescription, getId, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, handleOscMessage, hasParameter, isValidOscParameter, load, loadParameters, loadPreset, onParameterChanged, removeParameter, removeParameter, removeParameter, removeParameter, savePreset, setDescription, setParent, toOscQuery, toOscQuery, toOscQuery, toString, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
source
-
target
-
toggleMode
-
momentaryToggleMode
-
toggleMomentaryMode
-
-
Constructor Details
-
LXTriggerModulation
public LXTriggerModulation(LX lx, LXModulationEngine scope, JsonObject obj) throws LXParameterModulation.ModulationException -
LXTriggerModulation
public LXTriggerModulation(LXModulationEngine scope, BooleanParameter source, BooleanParameter target) throws LXParameterModulation.ModulationException
-
-
Method Details
-
getModeParameter
-
getPath
Description copied from class:LXComponentAccessor for the path of this object. Returns the path this component was registered with. Some subclasses may override this if path structure is dynamic.- Specified by:
getPathin interfaceLXPath- Overrides:
getPathin classLXComponent- Returns:
- path of this component relative to its parent
-
dispose
public void dispose()Description copied from class:LXComponentInvoked when a component is being removed from the system and will no longer be used at all. This unregisters the component and should free up any resources and parameter listeners. Ideally after this method is called the object should be eligible for garbage collection. Subclasses are generally expected to override this method to handle their particular cleanup work. They should also generally callsuper.dispose()at the appropriate time to perform the basic cleanup, which may need to happen either before or after cleaning up other objects.- Overrides:
disposein classLXParameterModulation
-