Package heronarts.lx.command
Class LXCommand.Channel.AddEffect
java.lang.Object
heronarts.lx.command.LXCommand
heronarts.lx.command.LXCommand.Channel.AddEffect
- Enclosing class:
LXCommand.Channel
-
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
ConstructorsConstructorDescriptionAddEffect(LXComponent parent, Class<? extends LXEffect> effectClass) AddEffect(LXComponent parent, Class<? extends LXEffect> effectClass, JsonObject effectObj) -
Method Summary
-
Constructor Details
-
AddEffect
-
AddEffect
-
-
Method Details
-
getDescription
Description copied from class:LXCommandShort description of a command, to explain it to the user- Specified by:
getDescriptionin classLXCommand- Returns:
- short description of command
-
perform
Description copied from class:LXCommandPerform the given command- Specified by:
performin classLXCommand- Parameters:
lx- LX instance- Throws:
LXCommand.InvalidCommandException- if the command is invalid
-
undo
Description copied from class:LXCommandUndo the command, after it has been performed
-