Package heronarts.lx.command
Class LXCommand.Parameter.SetValue
java.lang.Object
heronarts.lx.command.LXCommand
heronarts.lx.command.LXCommand.Parameter.SetValue
- Direct Known Subclasses:
LXCommand.Parameter.SetIndex
- Enclosing class:
- LXCommand.Parameter
-
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.Palette, LXCommand.Parameter, LXCommand.ParameterReference<T extends LXParameter>, LXCommand.RemoveComponent, LXCommand.Snapshots, LXCommand.Structure
-
Constructor Summary
ConstructorDescriptionSetValue
(DiscreteParameter parameter, int value) SetValue
(LXParameter parameter, double value) -
Method Summary
Modifier and TypeMethodDescriptionShort description of a command, to explain it to the uservoid
Perform the given commandvoid
Undo the command, after it has been performedupdate
(double value) updateDiscrete
(int value)
-
Constructor Details
-
SetValue
-
SetValue
-
-
Method Details
-
getParameter
-
updateDiscrete
-
update
-
getDescription
Description copied from class:LXCommand
Short description of a command, to explain it to the user- Specified by:
getDescription
in classLXCommand
- Returns:
- short description of command
-
perform
Description copied from class:LXCommand
Perform the given command -
undo
Description copied from class:LXCommand
Undo the command, after it has been performed
-