public static class LXCommand.Parameter.SetColor 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 |
|---|
SetColor(ColorParameter colorParameter) |
SetColor(ColorParameter colorParameter,
double hue,
double saturation) |
| 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
|
LXCommand.Parameter.SetColor |
update(double hue,
double saturation) |
public SetColor(ColorParameter colorParameter)
public SetColor(ColorParameter colorParameter, double hue, double saturation)
public String getDescription()
LXCommandgetDescription in class LXCommandpublic void perform(LX lx) throws LXCommand.InvalidCommandException
LXCommandperform in class LXCommandlx - LX instanceLXCommand.InvalidCommandException - if the command is invalidpublic LXCommand.Parameter.SetColor update(double hue, double saturation)
public void undo(LX lx) throws LXCommand.InvalidCommandException
LXCommandundo in class LXCommandlx - LX instanceLXCommand.InvalidCommandException - if the command is invalidLX library by Mark C. Slee. © 2012-2020