public abstract class LXModelComponent extends LXModulatorComponent
LXModulatorComponent.Profiler
LXComponent.Placeholder, LXComponent.Renamable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
protected LXModel |
model |
modulators, profiler
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
Modifier | Constructor and Description |
---|---|
protected |
LXModelComponent(LX lx) |
protected |
LXModelComponent(LX lx,
String label) |
Modifier and Type | Method and Description |
---|---|
LXModel |
getModel() |
void |
loop(double deltaMs) |
protected void |
onModelChanged(LXModel model)
Subclasses should override to handle changes to which model
they are addressing.
|
LXModelComponent |
setModel(LXModel model) |
addModulator, addModulator, addModulator, constructProfiler, dispose, getModulator, getModulators, moveModulator, removeModulator, startModulator
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
protected LXModel model
protected LXModelComponent(LX lx)
public LXModel getModel()
public LXModelComponent setModel(LXModel model)
public void loop(double deltaMs)
loop
in interface LXLoopTask
loop
in class LXModulatorComponent
protected void onModelChanged(LXModel model)
model
- New modelLX library by Mark C. Slee. © 2012-2020