Package heronarts.lx.clip
Class LXAbstractChannelClip
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.LXRunnableComponent
heronarts.lx.clip.LXClip
heronarts.lx.clip.LXAbstractChannelClip
- All Implemented Interfaces:
LXComponent.Renamable
,LXLoopTask
,LXPath
,LXSerializable
,LXAbstractChannel.MidiListener
,LXBus.Listener
,LXOscComponent
,LXParameterListener
- Direct Known Subclasses:
LXChannelClip
,LXGroupClip
public abstract class LXAbstractChannelClip
extends LXClip
implements LXAbstractChannel.MidiListener
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.clip.LXClip
LXClip.Listener
Nested classes/interfaces inherited from class heronarts.lx.LXComponent
LXComponent.Hidden, LXComponent.Placeholder, LXComponent.Renamable
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
Fields inherited from class heronarts.lx.clip.LXClip
automationEnabled, bus, customSnapshotTransition, KEY_INDEX, lanes, length, loop, mutableLanes, parameterRecorder, snapshot, snapshotEnabled, snapshotTransitionEnabled
Fields inherited from class heronarts.lx.LXRunnableComponent
runMs, running, trigger
Fields inherited from class heronarts.lx.LXComponent
children, internalParameters, KEY_CHILDREN, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_INTERNAL, KEY_PARAMETER_PATH, KEY_PARAMETERS, KEY_PATH, KEY_RESET, label, legacyInternalParameters, legacyParameters, lx, modulationColor, modulationControlsExpanded, modulationsExpanded, parameters, presetFile
Fields inherited from interface heronarts.lx.LXPath
ROOT, ROOT_PREFIX, ROOT_SLASH
-
Constructor Summary
ModifierConstructorDescriptionprotected
LXAbstractChannelClip
(LX lx, LXAbstractChannel channel, int index, boolean registerListener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Invoked when a component is being removed from the system and will no longer be used at all.void
midiReceived
(LXAbstractChannel channel, LXShortMessage message) Methods inherited from class heronarts.lx.clip.LXClip
addListener, effectAdded, effectMoved, effectRemoved, getBasis, getCursor, getIndex, getLength, getPath, load, loadLane, onParameterChanged, onStartRecording, onStop, onTrigger, registerComponent, removeListener, removeParameterLane, run, save, setIndex, unregisterComponent
Methods inherited from class heronarts.lx.LXRunnableComponent
isRunning, loop, onReset, onStart, postRun, reset, start, stop, toggle, trigger
Methods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameter, addParameters, contains, copyParameters, getCategory, getChild, getComponentName, getComponentName, getComponentName, getDescription, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, handleOscMessage, hasParameter, isValidOscParameter, loadParameters, loadPreset, removeParameter, removeParameter, removeParameter, removeParameter, savePreset, setDescription, setParent, toOscQuery, toOscQuery, toOscQuery, toString, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface heronarts.lx.osc.LXOscComponent
getOscAddress, handleOscMessage
Methods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
channel
-
midiNoteLane
-
-
Constructor Details
-
LXAbstractChannelClip
protected LXAbstractChannelClip(LX lx, LXAbstractChannel channel, int index, boolean registerListener)
-
-
Method Details
-
midiReceived
- Specified by:
midiReceived
in interfaceLXAbstractChannel.MidiListener
-
dispose
public void dispose()Description copied from class:LXComponent
Invoked when a component is being removed from the system and will no longer be used at all. This unregisters the component and should free up any resources and parameter listeners. Ideally after this method is called the object should be eligible for garbage collection. Subclasses are generally expected to override this method to handle their particular cleanup work. They should also generally callsuper.dispose()
at the appropriate time to perform the basic cleanup, which may need to happen either before or after cleaning up other objects.
-