public static class LXCommand.Modulation.AddModulator 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
Constructor and Description |
---|
AddModulator(LXModulationEngine modulation,
Class<? extends LXModulator> modulatorClass) |
AddModulator(LXModulationEngine modulation,
Class<? extends LXModulator> modulatorClass,
int modulationColor) |
AddModulator(LXModulationEngine modulation,
Class<? extends LXModulator> modulatorClass,
JsonObject modulatorObj) |
AddModulator(LXModulationEngine modulation,
Class<? extends LXModulator> modulatorClass,
JsonObject modulatorObj,
int modulationColor) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Short description of a command, to explain it to the user
|
void |
perform(LX lx)
Perform the given command
|
void |
undo(LX lx)
Undo the command, after it has been performed
|
public AddModulator(LXModulationEngine modulation, Class<? extends LXModulator> modulatorClass)
public AddModulator(LXModulationEngine modulation, Class<? extends LXModulator> modulatorClass, int modulationColor)
public AddModulator(LXModulationEngine modulation, Class<? extends LXModulator> modulatorClass, JsonObject modulatorObj)
public AddModulator(LXModulationEngine modulation, Class<? extends LXModulator> modulatorClass, JsonObject modulatorObj, int modulationColor)
public String getDescription()
LXCommand
getDescription
in class LXCommand
public void perform(LX lx) throws LXCommand.InvalidCommandException
LXCommand
perform
in class LXCommand
lx
- LX instanceLXCommand.InvalidCommandException
- if the command is invalidLX library by Mark C. Slee. © 2012-2020