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()booleanMay return true if a command should be ignore for the purposes of undovoidPerform the given commandvoidUndo 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:LXCommandShort description of a command, to explain it to the user- Overrides:
getDescriptionin classLXCommand.Clip.Event.Midi.EditNote- Returns:
- short description of command
-
isIgnored
public boolean isIgnored()Description copied from class:LXCommandMay return true if a command should be ignore for the purposes of undo -
perform
Description copied from class:LXCommandPerform the given command- Overrides:
performin classLXCommand.Clip.Event.Midi.EditNote- Parameters:
lx- LX instance- Throws:
LXCommand.InvalidCommandException- if the command is invalid
-
getNote
-
undo
Description copied from class:LXCommandUndo the command, after it has been performed- Overrides:
undoin classLXCommand.Clip.Event.Midi.EditNote- Parameters:
lx- LX instance- Throws:
LXCommand.InvalidCommandException- if the command is invalid
-