public class LXTriggerModulation extends LXParameterModulation
LXParameterModulation.CircularDependencyException, LXParameterModulation.InvalidScopeException, LXParameterModulation.ModulationException
LXComponent.Placeholder, LXComponent.Renamable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
BooleanParameter |
source |
BooleanParameter |
target |
clr, color, enabled, index, KEY_SOURCE, KEY_TARGET
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
Constructor and Description |
---|
LXTriggerModulation(LX lx,
LXModulationEngine scope,
JsonObject obj) |
LXTriggerModulation(LXModulationEngine scope,
BooleanParameter source,
BooleanParameter target) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Invoked when a component is being removed from the system and will no longer be used at all.
|
String |
getPath()
Accessor for the path of this object.
|
void |
onParameterChanged(LXParameter p)
Subclasses are free to override this if desired.
|
getIndex, getLabel, getParameter, getTarget, save, setIndex
addArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, getChild, getComponentName, getComponentName, getComponentName, getId, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, handleOscMessage, load, loadParameters, removeParameter, removeParameter, saveParameters, setParent, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter
public final BooleanParameter source
public final BooleanParameter target
public LXTriggerModulation(LXModulationEngine scope, BooleanParameter source, BooleanParameter target) throws LXParameterModulation.ModulationException
public LXTriggerModulation(LX lx, LXModulationEngine scope, JsonObject obj) throws LXParameterModulation.ModulationException
public void onParameterChanged(LXParameter p)
LXComponent
onParameterChanged
in interface LXParameterListener
onParameterChanged
in class LXComponent
p
- Parameter that has a value changepublic String getPath()
LXComponent
getPath
in interface LXPath
getPath
in class LXComponent
public void dispose()
LXComponent
super.dispose()
at the appropriate
time to perform the basic cleanup, which may need to happen either before or after cleaning
up other objects.dispose
in class LXParameterModulation
LX library by Mark C. Slee. © 2012-2020