@LXCategory(value="Test") public class TestPattern extends LXPattern
Modifier and Type | Class and Description |
---|---|
static class |
TestPattern.Mode |
LXPattern.Placeholder, LXPattern.Profiler
LXLayeredComponent.Buffered
LXComponent.Renamable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
DiscreteParameter |
fixedIndex |
EnumParameter<TestPattern.Mode> |
mode |
CompoundParameter |
rate |
StringParameter |
subkey |
autoCycleEligible, profiler, runMs
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 |
---|
TestPattern(LX lx) |
Modifier and Type | Method and Description |
---|---|
protected void |
onModelChanged(LXModel model)
Subclasses should override to handle changes to which model
they are addressing.
|
void |
run(double deltaMs)
Main pattern loop function.
|
clearInterval, getChannel, getIndex, getPath, hasInterval, isAutoCycleEligible, isInInterval, onActive, onInactive, onLoop, onTransitionEnd, onTransitionStart, setAutoCycleEligible, setChannel, setIndex, setInterval, toggleAutoCycleEligible
getCategory, getCrash, getCrashStackTrace, getDeviceVersion, getModulationEngine, getRemoteControls, isRemoteControl, loop, save, setRemoteControls
addColor, addColor, addLayer, afterLayers, blendColor, blendColor, clearColors, dispose, getBuffer, getColor, getColor, getColors, getLayers, removeLayer, setBuffer, setBuffer, setColor, setColor, setColor, setColors, subtractColor
getModel, 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, load, 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 final EnumParameter<TestPattern.Mode> mode
public final CompoundParameter rate
public final DiscreteParameter fixedIndex
public final StringParameter subkey
public TestPattern(LX lx)
protected void onModelChanged(LXModel model)
LXModelComponent
onModelChanged
in class LXModelComponent
model
- New modelLX library by Mark C. Slee. © 2012-2020