Android Animation for Titanium
Provides access to Honeycomb+ Animation APIs
 All Classes Functions Variables Pages
Public Member Functions | List of all members
ObjectAnimatorFactory Class Reference

You do not use this class directly. More...

Inherits KrollProxy.

Public Member Functions

.method ObjectAnimator_ ofFloat (Object object, String propertyName, Object...varArgs)
 Get an ObjectAnimator instance prepared to animate a float property of the passed object. More...
 
.method ObjectAnimator_ ofInt (Object object, String propertyName, Object...varArgs)
 Get an ObjectAnimator instance prepared to animate an integer property of the passed object. More...
 

Detailed Description

You do not use this class directly.

It is what is returned by module.objectAnimator and contains the ofInt and ofFloat factory methods which return new ObjectAnimator instances.

Since
1.0

Member Function Documentation

.method ObjectAnimator_ ofFloat ( Object  object,
String  propertyName,
Object...  varArgs 
)
inline

Get an ObjectAnimator instance prepared to animate a float property of the passed object.

Parameters
objectObject (likely a view) whose property will be animated.
propertyNameThe name of the property to animate.
varArgsOne or more values to animate from/to. If you pass just one, the animation will begin with the property's current value and animate to the given value. If you pass more than one value, the animation will begin with the first value and proceed through the others to the final value.
Returns
ObjectAnimator ready to animate the given property to the given values.
Since
1.0
.method ObjectAnimator_ ofInt ( Object  object,
String  propertyName,
Object...  varArgs 
)
inline

Get an ObjectAnimator instance prepared to animate an integer property of the passed object.

Parameters
objectObject (likely a view) whose property will be animated.
propertyNameThe name of the property to animate.
varArgsOne or more values to animate from/to. If you pass just one, the animation will begin with the property's current value and animate to the given value. If you pass more than one value, the animation will begin with the first value and proceed through the others to the final value. Note that although you will usually pass numbers, you can also pass color values in the form of strings (e.g. "#FFF") and this will convert them automatically to the integer color value.
Returns
ObjectAnimator ready to animate the given property to the given values.
Since
1.0

The documentation for this class was generated from the following file: