Package heronarts.lx.clip
Class PatternClipEvent
- All Implemented Interfaces:
LXSerializable,Comparator<PatternClipEvent>
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
FieldsFields inherited from class heronarts.lx.clip.LXClipEvent
component, cursor, KEY_CURSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()voidsave(LX lx, JsonObject obj) Serializes this instance into the JSON objectsetPattern(LXPattern pattern) Methods inherited from class heronarts.lx.clip.LXClipEvent
compare, getCursor, loadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
KEY_PATTERN_INDEX
- See Also:
-
-
Constructor Details
-
PatternClipEvent
-
-
Method Details
-
getPattern
-
setPattern
-
execute
public void execute()- Specified by:
executein classLXClipEvent<PatternClipEvent>
-
save
Description copied from interface:LXSerializableSerializes this instance into the JSON object- Specified by:
savein interfaceLXSerializable- Overrides:
savein classLXClipEvent<PatternClipEvent>- Parameters:
lx- LX instanceobj- Object to serialize into
-