Package heronarts.lx.clip
Class ParameterClipEvent
java.lang.Object
heronarts.lx.clip.LXClipEvent
heronarts.lx.clip.ParameterClipEvent
- All Implemented Interfaces:
LXSerializable
,Comparator<LXClipEvent>
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
Fields inherited from class heronarts.lx.clip.LXClipEvent
component, cursor, KEY_CURSOR, lane
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
double
void
load
(LX lx, JsonObject obj) Restores this instance from a JSON objectvoid
save
(LX lx, JsonObject obj) Serializes this instance into the JSON objectsetNormalized
(double normalized) Methods inherited from class heronarts.lx.clip.LXClipEvent
compare, getBasis, getCursor
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
-
parameter
-
KEY_NORMALIZED
- See Also:
-
-
Method Details
-
setNormalized
-
getNormalized
public double getNormalized() -
execute
public void execute()- Specified by:
execute
in classLXClipEvent
-
load
Description copied from interface:LXSerializable
Restores this instance from a JSON object- Specified by:
load
in interfaceLXSerializable
- Overrides:
load
in classLXClipEvent
- 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
- Overrides:
save
in classLXClipEvent
- Parameters:
lx
- LX instanceobj
- Object to serialize into
-