public abstract class LXCommand extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LXCommand.Channel |
static class |
LXCommand.ComponentReference<T extends LXComponent>
This reference class is used because the LXCommand engine might have
actions in it that refer to components which have been deleted by
subsequent operations.
|
static class |
LXCommand.InvalidCommandException |
static class |
LXCommand.Midi |
static class |
LXCommand.Mixer |
static class |
LXCommand.Modulation |
static class |
LXCommand.Palette |
static class |
LXCommand.Parameter
Name space for parameter commands
|
static class |
LXCommand.ParameterReference<T extends LXParameter> |
static class |
LXCommand.RemoveComponent |
static class |
LXCommand.Snapshots |
static class |
LXCommand.Structure |
| Constructor and Description |
|---|
LXCommand() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getDescription()
Short description of a command, to explain it to the user
|
abstract void |
perform(LX lx)
Perform the given command
|
abstract void |
undo(LX lx)
Undo the command, after it has been performed
|
public abstract String getDescription()
public abstract void perform(LX lx) throws LXCommand.InvalidCommandException
lx - LX instanceLXCommand.InvalidCommandException - if the command is invalidpublic abstract void undo(LX lx) throws LXCommand.InvalidCommandException
lx - LX instanceLXCommand.InvalidCommandException - if the command is invalidLX library by Mark C. Slee. © 2012-2020