Search this API

y.anim
Interface CompositeAnimationObject

All Superinterfaces:
AnimationObject

public interface CompositeAnimationObject
extends AnimationObject

Specifies the contract of composite animation objects.

 
Your browser does not support SVG content.

Method Summary
 void addAnimation(AnimationObject ao)
          Adds an AnimationObject to the composite.
 boolean isEmpty()
          Returns true if this composite contains no animations.
 void removeAnimation(AnimationObject ao)
          Removes an AnimationObject from the composite.
 
Methods inherited from interface y.anim.AnimationObject
calcFrame, disposeAnimation, initAnimation, preferredDuration
 

Method Detail

addAnimation

void addAnimation(AnimationObject ao)
Adds an AnimationObject to the composite.

Parameters:
ao - the AnimationObject

removeAnimation

void removeAnimation(AnimationObject ao)
Removes an AnimationObject from the composite.

Parameters:
ao - the AnimationObject

isEmpty

boolean isEmpty()
Returns true if this composite contains no animations.

Returns:
true if this composite contains no animations.

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.