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.RemoveParameterLane,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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidremoveClipLanes(LXBus bus, LXComponent component) protected voidremoveModulationMappings(LXModulationEngine modulation, LXComponent component) protected voidremovePatternClipEvents(LXPattern pattern) 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
-
-
Method Details
-
removeModulationMappings
-
removeSnapshotViews
-
removeClipLanes
-
removePatternClipEvents
-
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
-