Package heronarts.lx.mixer
Class LXGroup
- All Implemented Interfaces:
LXComponent.Renamable
,LXLoopTask
,LXPath
,LXPresetComponent
,LXSerializable
,LXOscComponent
,LXParameterListener
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.mixer.LXAbstractChannel
LXAbstractChannel.CrossfadeGroup, LXAbstractChannel.Listener, LXAbstractChannel.MidiListener
Nested classes/interfaces inherited from class heronarts.lx.mixer.LXBus
LXBus.ClipListener
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.mixer.LXAbstractChannel
auxActive, blendBuffer, blendMode, colors, crossfadeGroup, cueActive, enabled, index, midiFilter, performanceWarning, view
Fields inherited from class heronarts.lx.mixer.LXBus
arm, clips, controlsExpandedAux, controlsExpandedCue, effects, fader, mutableEffects, PATH_EFFECT, selected
Fields inherited from class heronarts.lx.LXModelComponent
model
Fields inherited from class heronarts.lx.LXModulatorComponent
modulators, profiler
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
-
Method Summary
Modifier and TypeMethodDescriptionaddChannel
(LXChannel channel) protected LXClip
constructClip
(int index) protected LXModulatorComponent.Profiler
void
dispose()
Invoked when a component is being removed from the system and will no longer be used at all.Get the last channel in this groupvoid
onParameterChanged
(LXParameter parameter) Subclasses are free to override this if desired.void
ungroup()
Methods inherited from class heronarts.lx.mixer.LXAbstractChannel
addListener, addMidiListener, getIndex, getModelView, getPath, load, loop, midiDispatch, midiMessage, postProcessPreset, removeListener, removeMidiListener
Methods inherited from class heronarts.lx.mixer.LXBus
addClip, addClip, addClip, addClipListener, addEffect, addEffect, addListener, disposeClips, getClip, getClip, getClipLabel, getEffect, getEffect, getEffects, getGroup, getPresetClass, handleOscMessage, isChannel, isEmptyGroup, isGroup, isInGroup, loop, moveEffect, reloadEffect, removeClip, removeClip, removeClipListener, removeEffect, removeListener, save, setMixer, stopClips
Methods inherited from class heronarts.lx.LXModelComponent
getModel, onModelChanged, setModel
Methods inherited from class heronarts.lx.LXModulatorComponent
addModulator, addModulator, addModulator, addModulator, addModulator, getModulator, getModulators, moveModulator, removeModulator, startModulator
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, 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
Methods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
channels
-
-
Constructor Details
-
LXGroup
-
-
Method Details
-
constructProfiler
- Overrides:
constructProfiler
in classLXAbstractChannel
-
constructClip
- Specified by:
constructClip
in classLXBus
-
addChannel
-
getLastChannel
Get the last channel in this group- Returns:
- The last channel in this group
-
ungroup
public void ungroup() -
onParameterChanged
Description copied from class:LXComponent
Subclasses are free to override this if desired. It will automatically fire for any listenable parameter that is registered with this component.- Specified by:
onParameterChanged
in interfaceLXParameterListener
- Overrides:
onParameterChanged
in classLXAbstractChannel
- Parameters:
parameter
- Parameter that has a value change
-
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.- Overrides:
dispose
in classLXAbstractChannel
-