public static class LXEffect.Placeholder extends LXEffect implements LXComponent.Placeholder
LXEffect.Placeholder, LXEffect.Profiler
LXLayeredComponent.Buffered
LXComponent.Renamable
LXSerializable.Utils
enabled, enabledDamped, enabledDampingAttack, enabledDampingRelease, hasDamping, profiler
controlsExpanded, crashed, DEVICE_CATEGORY_NAME_SORT, DEVICE_VERSION_UNSPECIFIED, KEY_DEVICE_VERSION, modulation, modulationExpanded
colors, layers, palette
model
modulators
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
Constructor and Description |
---|
Placeholder(LX lx) |
Modifier and Type | Method and Description |
---|---|
String |
getPlaceholderClassName() |
String |
getPlaceholderTypeName() |
void |
load(LX lx,
JsonObject object)
Loads the LX component.
|
protected void |
run(double deltaMs,
double enabledAmount)
Implementation of the effect.
|
void |
save(LX lx,
JsonObject object)
Serializes the LX component.
|
disable, dispose, enable, getBus, getIndex, getPath, isEnabled, isRemoteControl, onDisable, onEnable, onLoop, setBus, setDamping, setDampingTime, setDampingTime, setIndex, toggle
getCategory, getCrash, getCrashStackTrace, getDeviceVersion, getModulationEngine, getRemoteControls, loop, setRemoteControls
addColor, addColor, addLayer, afterLayers, blendColor, blendColor, clearColors, getBuffer, getColor, getColor, getColors, getLayers, removeLayer, setBuffer, setBuffer, setColor, setColor, setColor, setColors, subtractColor
getModel, onModelChanged, setModel
addModulator, addModulator, addModulator, constructProfiler, 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, handleOscMessage, loadParameters, onParameterChanged, removeParameter, removeParameter, saveParameters, setParent, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOscAddress, handleOscMessage
aftertouchReceived, controlChangeReceived, noteOffReceived, noteOnReceived, pitchBendReceived, programChangeReceived
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter
public Placeholder(LX lx)
public String getPlaceholderTypeName()
getPlaceholderTypeName
in interface LXComponent.Placeholder
public String getPlaceholderClassName()
getPlaceholderClassName
in interface LXComponent.Placeholder
public void save(LX lx, JsonObject object)
LXComponent
super.save(lx, obj)
at the appropriate time.save
in interface LXSerializable
save
in class LXDeviceComponent
lx
- LX instanceobject
- Object to serialize intopublic void load(LX lx, JsonObject object)
LXComponent
load
in interface LXSerializable
load
in class LXComponent
lx
- LX instanceobject
- Object to deserializeprotected void run(double deltaMs, double enabledAmount)
LXEffect
LX library by Mark C. Slee. © 2012-2020