public abstract class LXClipEvent extends Object implements Comparator<LXClipEvent>, LXSerializable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
protected LXComponent |
component |
protected double |
cursor |
protected static String |
KEY_CURSOR |
protected LXClipLane |
lane |
Modifier and Type | Method and Description |
---|---|
int |
compare(LXClipEvent arg0,
LXClipEvent arg1) |
abstract void |
execute() |
double |
getBasis() |
double |
getCursor() |
void |
load(LX lx,
JsonObject obj)
Restores this instance from a JSON object
|
void |
save(LX lx,
JsonObject obj)
Serializes this instance into the JSON object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
protected final LXClipLane lane
protected final LXComponent component
protected double cursor
protected static final String KEY_CURSOR
public double getCursor()
public double getBasis()
public int compare(LXClipEvent arg0, LXClipEvent arg1)
compare
in interface Comparator<LXClipEvent>
public abstract void execute()
public void load(LX lx, JsonObject obj)
LXSerializable
load
in interface LXSerializable
lx
- LX instanceobj
- Object to deserializepublic void save(LX lx, JsonObject obj)
LXSerializable
save
in interface LXSerializable
lx
- LX instanceobj
- Object to serialize intoLX library by Mark C. Slee. © 2012-2020