Package heronarts.lx.command
Class LXCommand.Clip.Event.Midi.InsertNote
java.lang.Object
heronarts.lx.command.LXCommand
heronarts.lx.command.LXCommand.Clip.Event.Midi.EditNote
heronarts.lx.command.LXCommand.Clip.Event.Midi.InsertNote
- Enclosing class:
LXCommand.Clip.Event.Midi
-
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.Midi.EditNote
clipLane, fromEnd, fromPitch, fromStart, fromVelocity, noteOnIndex, originalEvents
-
Constructor Summary
ConstructorsConstructorDescriptionInsertNote
(MidiNoteClipLane clipLane, int pitch, int velocity, Cursor start, Cursor end) -
Method Summary
Modifier and TypeMethodDescriptionShort description of a command, to explain it to the usergetNote()
boolean
May return true if a command should be ignore for the purposes of undovoid
Perform the given commandvoid
Undo the command, after it has been performedMethods inherited from class heronarts.lx.command.LXCommand.Clip.Event.Midi.EditNote
setNote, update, update, updateCursor, updatePitch, updateVelocity
-
Constructor Details
-
InsertNote
-
-
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.Midi.EditNote
- Returns:
- short description of command
-
isIgnored
public boolean isIgnored()Description copied from class:LXCommand
May return true if a command should be ignore for the purposes of undo -
perform
Description copied from class:LXCommand
Perform the given command- Overrides:
perform
in classLXCommand.Clip.Event.Midi.EditNote
- Parameters:
lx
- LX instance- Throws:
LXCommand.InvalidCommandException
- if the command is invalid
-
getNote
-
undo
Description copied from class:LXCommand
Undo the command, after it has been performed- Overrides:
undo
in classLXCommand.Clip.Event.Midi.EditNote
- Parameters:
lx
- LX instance- Throws:
LXCommand.InvalidCommandException
- if the command is invalid
-