Package heronarts.lx.clip
Class LXClipEvent<T extends LXClipEvent<?>>
java.lang.Object
heronarts.lx.clip.LXClipEvent<T>
- All Implemented Interfaces:
LXSerializable
,Comparator<T>
- Direct Known Subclasses:
MidiNoteClipEvent
,ParameterClipEvent
,PatternClipEvent
public abstract class LXClipEvent<T extends LXClipEvent<?>>
extends Object
implements Comparator<T>, LXSerializable
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LXComponent
final Cursor
protected static final String
protected final LXClipLane
<T> -
Method Summary
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
-
component
-
cursor
-
KEY_CURSOR
- See Also:
-
-
Method Details
-
getCursor
-
compare
- Specified by:
compare
in interfaceComparator<T extends LXClipEvent<?>>
-
execute
public abstract void execute() -
load
Description copied from interface:LXSerializable
Restores this instance from a JSON object- Specified by:
load
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobj
- Object to deserialize
-
save
Description copied from interface:LXSerializable
Serializes this instance into the JSON object- Specified by:
save
in interfaceLXSerializable
- Parameters:
lx
- LX instanceobj
- Object to serialize into
-