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 TypeMethodDescriptionvoid
execute()
double
float
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) toString()
Methods inherited from class heronarts.lx.clip.LXClipEvent
compare, getCursor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
execute
in classLXClipEvent<ParameterClipEvent>
-
toString
-
load
Description copied from interface:LXSerializable
Restores this instance from a JSON object- Specified by:
load
in interfaceLXSerializable
- Overrides:
load
in classLXClipEvent<ParameterClipEvent>
- 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<ParameterClipEvent>
- Parameters:
lx
- LX instanceobj
- Object to serialize into
-