Package heronarts.lx.clip
Class ParameterClipEvent
- All Implemented Interfaces:
LXSerializable,Comparator<ParameterClipEvent>
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()doublefloatvoidload(LX lx, JsonObject obj) Restores this instance from a JSON objectvoidsave(LX lx, JsonObject obj) Serializes this instance into the JSON objectsetNormalized(double normalized) toString()Methods inherited from class heronarts.lx.clip.LXClipEvent
compare, getCursorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
lane
-
KEY_NORMALIZED
- See Also:
-
-
Method Details
-
setNormalized
-
getNormalized
public double getNormalized() -
getNormalizedf
public float getNormalizedf() -
execute
public void execute()- Specified by:
executein classLXClipEvent<ParameterClipEvent>
-
toString
-
load
Description copied from interface:LXSerializableRestores this instance from a JSON object- Specified by:
loadin interfaceLXSerializable- Overrides:
loadin classLXClipEvent<ParameterClipEvent>- Parameters:
lx- LX instanceobj- Object to deserialize
-
save
Description copied from interface:LXSerializableSerializes this instance into the JSON object- Specified by:
savein interfaceLXSerializable- Overrides:
savein classLXClipEvent<ParameterClipEvent>- Parameters:
lx- LX instanceobj- Object to serialize into
-