public abstract class LXModulatorComponent extends LXComponent implements LXLoopTask
Modifier and Type | Class and Description |
---|---|
class |
LXModulatorComponent.Profiler |
LXComponent.Placeholder, LXComponent.Renamable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
List<LXModulator> |
modulators |
LXModulatorComponent.Profiler |
profiler |
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
Modifier | Constructor and Description |
---|---|
protected |
LXModulatorComponent(LX lx) |
protected |
LXModulatorComponent(LX lx,
String label) |
Modifier and Type | Method and Description |
---|---|
<T extends LXModulator> |
addModulator(String path,
T modulator) |
<T extends LXModulator> |
addModulator(T modulator) |
<T extends LXModulator> |
addModulator(T modulator,
int index) |
protected LXModulatorComponent.Profiler |
constructProfiler() |
void |
dispose()
Invoked when a component is being removed from the system and will no longer be used at all.
|
LXModulator |
getModulator(String label) |
List<LXModulator> |
getModulators() |
void |
loop(double deltaMs) |
<T extends LXModulator> |
moveModulator(T modulator,
int index) |
<T extends LXModulator> |
removeModulator(T modulator) |
<T extends LXModulator> |
startModulator(T modulator) |
addArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, getChild, getComponentName, getComponentName, getComponentName, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, getPath, handleOscMessage, load, loadParameters, onParameterChanged, removeParameter, removeParameter, save, 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 List<LXModulator> modulators
public final LXModulatorComponent.Profiler profiler
protected LXModulatorComponent(LX lx)
protected LXModulatorComponent.Profiler constructProfiler()
public <T extends LXModulator> T addModulator(String path, T modulator)
public final <T extends LXModulator> T addModulator(T modulator)
public <T extends LXModulator> T addModulator(T modulator, int index)
public <T extends LXModulator> T moveModulator(T modulator, int index)
public final <T extends LXModulator> T startModulator(T modulator)
public <T extends LXModulator> T removeModulator(T modulator)
public LXModulator getModulator(String label)
public List<LXModulator> getModulators()
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 LXComponent
public void loop(double deltaMs)
loop
in interface LXLoopTask
LX library by Mark C. Slee. © 2012-2020