public abstract class LXParameterModulation extends LXComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
LXParameterModulation.CircularDependencyException |
static class |
LXParameterModulation.InvalidScopeException |
static class |
LXParameterModulation.ModulationException |
LXComponent.Placeholder, LXComponent.RenamableLXSerializable.Utils| Modifier and Type | Field and Description |
|---|---|
DiscreteColorParameter |
clr |
DiscreteColorParameter |
color |
BooleanParameter |
enabled |
protected int |
index |
protected static String |
KEY_SOURCE |
protected static String |
KEY_TARGET |
LXParameter |
source |
LXParameter |
target |
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor| Modifier | Constructor and Description |
|---|---|
protected |
LXParameterModulation(LXModulationEngine scope,
LXParameter source,
LXParameter 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.
|
int |
getIndex() |
String |
getLabel()
Accessor for the user-facing label of this component.
|
protected static LXParameter |
getParameter(LX lx,
LXModulationEngine scope,
JsonObject obj) |
LXParameter |
getTarget() |
void |
save(LX lx,
JsonObject obj)
Serializes the LX component.
|
LXParameterModulation |
setIndex(int index) |
addArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, getChild, getComponentName, getComponentName, getComponentName, getId, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, getPath, handleOscMessage, load, loadParameters, onParameterChanged, removeParameter, removeParameter, saveParameters, setParent, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameterprotected int index
public final LXParameter source
public final LXParameter target
public final DiscreteColorParameter color
public final DiscreteColorParameter clr
public final BooleanParameter enabled
protected static final String KEY_SOURCE
protected static final String KEY_TARGET
protected LXParameterModulation(LXModulationEngine scope, LXParameter source, LXParameter target) throws LXParameterModulation.ModulationException
public LXParameterModulation setIndex(int index)
public int getIndex()
public LXParameter getTarget()
public String getLabel()
LXComponentLXComponent.Renamable interface may allow the user to change this value.getLabel in interface LXPathgetLabel in class LXComponentprotected static LXParameter getParameter(LX lx, LXModulationEngine scope, JsonObject obj)
public void dispose()
LXComponentsuper.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 LXComponentpublic void save(LX lx, JsonObject obj)
LXComponentsuper.save(lx, obj)
at the appropriate time.save in interface LXSerializablesave in class LXComponentlx - LX instanceobj - Object to serialize intoLX library by Mark C. Slee. © 2012-2020