public abstract static class LXCommand.RemoveComponent extends LXCommand
LXCommand.Channel, LXCommand.ComponentReference<T extends LXComponent>, LXCommand.InvalidCommandException, LXCommand.Midi, LXCommand.Mixer, LXCommand.Modulation, LXCommand.Palette, LXCommand.Parameter, LXCommand.ParameterReference<T extends LXParameter>, LXCommand.RemoveComponent, LXCommand.Snapshots, LXCommand.Structure
Modifier | Constructor and Description |
---|---|
protected |
RemoveComponent(LXComponent component) |
Modifier and Type | Method and Description |
---|---|
protected void |
removeModulationMappings(LXModulationEngine modulation,
LXComponent component) |
protected void |
removeSnapshotViews(LXSnapshotEngine snapshots,
LXComponent component) |
void |
undo(LX lx)
Undo the command, after it has been performed
|
getDescription, perform
protected RemoveComponent(LXComponent component)
protected void removeModulationMappings(LXModulationEngine modulation, LXComponent component)
protected void removeSnapshotViews(LXSnapshotEngine snapshots, LXComponent component)
public void undo(LX lx) throws LXCommand.InvalidCommandException
LXCommand
undo
in class LXCommand
lx
- LX instanceLXCommand.InvalidCommandException
- if the command is invalidLX library by Mark C. Slee. © 2012-2020