Package heronarts.lx.command
Class LXCommand.Clip.Event.Pattern.InsertEvent
java.lang.Object
heronarts.lx.command.LXCommand
heronarts.lx.command.LXCommand.Clip.Event.Pattern.MoveEvent
heronarts.lx.command.LXCommand.Clip.Event.Pattern.InsertEvent
- Enclosing class:
LXCommand.Clip.Event.Pattern
public static class LXCommand.Clip.Event.Pattern.InsertEvent
extends LXCommand.Clip.Event.Pattern.MoveEvent
-
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
-
Field Summary
Fields inherited from class heronarts.lx.command.LXCommand.Clip.Event.Pattern.MoveEvent
clipLane, eventIndex, fromCursor, fromPatternIndex, toCursor, toPatternIndex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionShort description of a command, to explain it to the usergetEvent()
void
Perform the given commandvoid
Undo the command, after it has been performedMethods inherited from class heronarts.lx.command.LXCommand.Clip.Event.Pattern.MoveEvent
setEvent, update
-
Constructor Details
-
InsertEvent
-
-
Method Details
-
getDescription
Description copied from class:LXCommand
Short description of a command, to explain it to the user- Overrides:
getDescription
in classLXCommand.Clip.Event.Pattern.MoveEvent
- Returns:
- short description of command
-
perform
Description copied from class:LXCommand
Perform the given command- Overrides:
perform
in classLXCommand.Clip.Event.Pattern.MoveEvent
- Parameters:
lx
- LX instance- Throws:
LXCommand.InvalidCommandException
- if the command is invalid
-
getEvent
-
undo
Description copied from class:LXCommand
Undo the command, after it has been performed- Overrides:
undo
in classLXCommand.Clip.Event.Pattern.MoveEvent
- Parameters:
lx
- LX instance- Throws:
LXCommand.InvalidCommandException
- if the command is invalid
-