Package heronarts.lx.clip
Class MidiNoteClipEvent
- All Implemented Interfaces:
LXSerializable
,Comparator<MidiNoteClipEvent>
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
final MidiNoteClipLane
final MidiNote
Fields inherited from class heronarts.lx.clip.LXClipEvent
component, cursor, KEY_CURSOR
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
boolean
boolean
isNoteOn()
void
save
(LX lx, JsonObject obj) Serializes this instance into the JSON objectMethods inherited from class heronarts.lx.clip.LXClipEvent
compare, getCursor, load
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
lane
-
midiNote
-
KEY_CHANNEL
- See Also:
-
KEY_COMMAND
- See Also:
-
KEY_DATA_1
- See Also:
-
KEY_DATA_2
- See Also:
-
-
Method Details
-
isNoteOn
public boolean isNoteOn() -
isNoteOff
public boolean isNoteOff() -
getNoteOff
-
getNoteOn
-
execute
public void execute()- Specified by:
execute
in classLXClipEvent<MidiNoteClipEvent>
-
save
Description copied from interface:LXSerializable
Serializes this instance into the JSON object- Specified by:
save
in interfaceLXSerializable
- Overrides:
save
in classLXClipEvent<MidiNoteClipEvent>
- Parameters:
lx
- LX instanceobj
- Object to serialize into
-