public class LXSnapshot.ActivePatternView extends LXSnapshot.View
LXSerializable.Utils
enabled, scope
Modifier and Type | Method and Description |
---|---|
LXCommand |
getCommand()
Gets a command version of this view's operation, needed to make
this action undoable.
|
protected boolean |
isDependentOf(LXComponent component)
Subclasses must implement, determines whether the given view is dependent upon
the specified component, and whether this view should be removed if the
component is disposed
|
protected void |
recall()
Subclasses must implement, should reapply the state of the view immediately
|
void |
save(LX lx,
JsonObject obj)
Serializes this instance into the JSON object
|
dispose, finishTransition, getSnapshot, interpolate, load, startTransition
public LXCommand getCommand()
LXSnapshot.View
getCommand
in class LXSnapshot.View
protected boolean isDependentOf(LXComponent component)
LXSnapshot.View
isDependentOf
in class LXSnapshot.View
component
- Component to testtrue
if this view depends upon that component's existence, false
otherwiseprotected void recall()
LXSnapshot.View
recall
in class LXSnapshot.View
public void save(LX lx, JsonObject obj)
LXSerializable
save
in interface LXSerializable
save
in class LXSnapshot.View
lx
- LX instanceobj
- Object to serialize intoLX library by Mark C. Slee. © 2012-2020