Package net.rim.device.api.animation

Provides a framework you can use to incorporate rich animation into your applications and games.


Interface Summary
Animatable Defines the interface that an object must support so it can be used as the target of an Animation.
AnimationListener Defines an interface that allows you to register a listener on an AbstractAnimation.
AnimatorListener Defines an interface for a listener that can be registered with an Animator to receive callbacks when the Animator begins processing and when it becomes idle.

Class Summary
AbstractAnimation An abstract class that defines the base functionality shared by Animation and AnimationGroup.
AnimatedScalar Defines an animatable scalar.
AnimatedVector Defines an animatable vector.
Animation Defines a class that can animate values of an Animatable target property according to an AnimationKeyframeSequence over a specified period of time.
AnimationGroup A collection class that groups together a set of animations.
AnimationKeyframeSequence Defines a class that represents animation sequence data as an ordering of two or more keyframes on a time scale between 0.0 and 1.0.
AnimationTrigger Defines a class you can use to trigger animations to begin or end.
AnimationValue Defines an interface for an object value that gets passed to the Animatable target during animation, allowing the target to get or set animation values for the property that is currently being animated.
Animator Defines a top level AnimationGroup that controls updates of all animations in the group.

Package net.rim.device.api.animation Description

Provides a framework you can use to incorporate rich animation into your applications and games. Animation involves changing a value or a set of values associated with the object being animated. This package provides classes designed to make it easy to expose those values to an animation engine that can update them according to highly-configurable rules.

The framework supports animation of animated scalar and vector components defined in the package as well as various components defined in the new floating point math library. The framework also defines a interface that lets existing Java objects implement their own Animatable properties. The framework lets you group animations hierarchically and you can control and schedule groups of animations.

To allow for easy integration into existing applications with predefined application events, the framework includes a scheduling mechanism that lets you register animations to begin or end in response to defined animation events, such as user input or another animation ending.

You can use the functionality implemented in this package with core UI components derived from Field. To do so, you must extend the core UI component and implement the Animatable interface. You can also use the framework with the Graphics class to do 2D drawing or for 2D and 3D rendering using OpenVG and OpenGL.

The framework supports over 40 built-in easing curves and also supports per-frame, b-spline easing curve definition. This lets you create your own custom time pacing functions.The framework is designed to take advantage of high performance native processing of all interpolation.

Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.