public class SequenceBinding extends Object implements AnimationBinding
AnimationBinding
that's a sequence of other AnimationBinding
s.Constructor and Description |
---|
SequenceBinding(List<AnimationBinding> bindings) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(AnimationBindingListener animationBindingListener)
Adds a
AnimationBindingListener . |
void |
collectTransitioningProperties(ArrayList<PropertyAnimation> outList)
Collects the set of
PropertyAnimation s that this animation will animate. |
boolean |
isActive() |
void |
removeListener(AnimationBindingListener animationBindingListener)
Removes a previously added
AnimationBindingListener . |
void |
start(Resolver resolver)
Starts this animation.
|
void |
stop()
Stops this animation.
|
public SequenceBinding(List<AnimationBinding> bindings)
public void start(Resolver resolver)
AnimationBinding
Resolver
instance can be used to configure this
animation appropriately using mount content property current and end values.start
in interface AnimationBinding
public void stop()
AnimationBinding
stop
in interface AnimationBinding
public boolean isActive()
isActive
in interface AnimationBinding
public void collectTransitioningProperties(ArrayList<PropertyAnimation> outList)
AnimationBinding
PropertyAnimation
s that this animation will animate. This is used
to make sure before/after values are recorded and accessible for the animation. Implementations
should add their animating properties to this set.
Note: This is a 'collect' call instead of a getter to allocating more sets then necessary for
animations with nested animation (e.g. a sequence of animations). Yay Java.collectTransitioningProperties
in interface AnimationBinding
public void addListener(AnimationBindingListener animationBindingListener)
AnimationBinding
AnimationBindingListener
.addListener
in interface AnimationBinding
public void removeListener(AnimationBindingListener animationBindingListener)
AnimationBinding
AnimationBindingListener
.removeListener
in interface AnimationBinding