Package heronarts.lx.snapshot
Class LXSnapshot.ActivePatternView
java.lang.Object
heronarts.lx.snapshot.LXSnapshot.View
heronarts.lx.snapshot.LXSnapshot.ActivePatternView
- All Implemented Interfaces:
LXSerializable
- Enclosing class:
LXSnapshot
View for which pattern is active on a channel
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
Fields inherited from class heronarts.lx.snapshot.LXSnapshot.View
enabled, scope -
Method Summary
Modifier and TypeMethodDescriptionGets a command version of this view's operation, needed to make this action undoable.protected booleanisDependentOf(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 disposedprotected voidrecall()Subclasses must implement, should reapply the state of the view immediatelyvoidsave(LX lx, JsonObject obj) Serializes this instance into the JSON objectMethods inherited from class heronarts.lx.snapshot.LXSnapshot.View
dispose, finishTransition, getSnapshot, interpolate, load, startTransition
-
Method Details
-
getCommand
Description copied from class:LXSnapshot.ViewGets a command version of this view's operation, needed to make this action undoable.- Specified by:
getCommandin classLXSnapshot.View- Returns:
- Command implementation of this view
-
isDependentOf
Description copied from class:LXSnapshot.ViewSubclasses 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- Specified by:
isDependentOfin classLXSnapshot.View- Parameters:
component- Component to test- Returns:
trueif this view depends upon that component's existence,falseotherwise
-
recall
protected void recall()Description copied from class:LXSnapshot.ViewSubclasses must implement, should reapply the state of the view immediately- Specified by:
recallin classLXSnapshot.View
-
save
Description copied from interface:LXSerializableSerializes this instance into the JSON object- Specified by:
savein interfaceLXSerializable- Overrides:
savein classLXSnapshot.View- Parameters:
lx- LX instanceobj- Object to serialize into
-