Package heronarts.lx.command
Class LXCommand.RemoveComponent
java.lang.Object
heronarts.lx.command.LXCommand
heronarts.lx.command.LXCommand.RemoveComponent
- Direct Known Subclasses:
LXCommand.Channel.RemoveEffect,LXCommand.Channel.RemovePattern,LXCommand.Clip.RemoveClipLane,LXCommand.Midi.RemoveTemplate,LXCommand.Mixer.RemoveChannel,LXCommand.Modulation.RemoveModulation,LXCommand.Modulation.RemoveModulator,LXCommand.Modulation.RemoveTrigger,LXCommand.Osc.RemoveInput,LXCommand.Osc.RemoveOutput,LXCommand.Palette.RemoveColor,LXCommand.Palette.RemoveSwatch,LXCommand.Snapshots.RemoveSnapshot,LXCommand.Structure.RemoveFixture,LXCommand.Structure.RemoveView
- Enclosing class:
LXCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.command.LXCommand
LXCommand.Channel, LXCommand.Clip, LXCommand.ComponentReference<T extends LXComponent>, LXCommand.Device, LXCommand.InvalidCommandException, LXCommand.Midi, LXCommand.Mixer, LXCommand.Modulation, LXCommand.Osc, LXCommand.Palette, LXCommand.Parameter, LXCommand.ParameterReference<T extends LXParameter>, LXCommand.RemoveComponent, LXCommand.Snapshots, LXCommand.Structure -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRemoveComponent(LXComponent component) protectedRemoveComponent(LXComponent component, heronarts.lx.command.LXCommand.RemoveComponent.ModulationContext modulationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidremoveClipLanes(LXBus bus, LXComponent component) protected voidremoveModulationMappings(LXModulationEngine modulation, LXComponent component) protected voidremovePatternClipEvents(LXPattern pattern) protected voidremovePatternClipLaneEvents(PatternClipLane lane, LXPattern pattern) protected voidremoveRemoteControls(LXComponent component) protected voidremoveSnapshotViews(LXSnapshotEngine snapshots, LXComponent component) voidUndo the command, after it has been performedMethods inherited from class heronarts.lx.command.LXCommand
getDescription, isIgnored, perform
-
Constructor Details
-
RemoveComponent
-
RemoveComponent
protected RemoveComponent(LXComponent component, heronarts.lx.command.LXCommand.RemoveComponent.ModulationContext modulationContext)
-
-
Method Details
-
removeModulationMappings
-
removeSnapshotViews
-
removeRemoteControls
-
removeClipLanes
-
removePatternClipEvents
-
removePatternClipLaneEvents
-
undo
Description copied from class:LXCommandUndo the command, after it has been performed- Specified by:
undoin classLXCommand- Parameters:
lx- LX instance- Throws:
LXCommand.InvalidCommandException- if the command is invalid
-