#import <AMAnimation.h>
Public Member Functions | |
(id) | - initWithParent:control:attribute: |
Creates a new animation for the specified control and parameter. | |
(void) | - animateWithValues: |
Performs a static animation (set) with the given value. | |
(id< AMControllable >) | - getControlParent |
Returns the parent element of the control to animate. | |
(NSString *) | - getControlName |
Returns the name of the control to animate. | |
(NSString *) | - getAttributeName |
Returns the attribute of the control to animate. | |
Protected Attributes | |
UID | uid |
id< AMControllable > | parent |
NSString * | control |
NSString * | attribute |
NSMutableArray * | instances |
Properties | |
AMTime * | dur |
The duration of the animation. | |
AMTime * | quantize |
The quantization value of the animation. | |
AMValue * | from |
The starting value of the parameter to animate. | |
AMValue * | to |
The ending value of the parameter to animate. | |
AMValue * | by |
The relative offset value of the parameter to animate. | |
AMFillType | fill |
AMAccumulationType | accumulation |
float | repeatCount |
AMTime * | repeatDur |
NSArray * | values |
NSString * | eventValue |
Animations are managed by the scheduler and can be synchronized on time and/or events.
- (void) animateWithValues: | (id) | _value |
Performs a static animation (set) with the given value.
values | The value to apply on the specified attribute of the animation. |
- (NSString *) getAttributeName |
Returns the attribute of the control to animate.
FOR INTERNAL USAGE ONLY.
- (NSString *) getControlName |
Returns the name of the control to animate.
FOR INTERNAL USAGE ONLY.
- (id< AMControllable >) getControlParent |
Returns the parent element of the control to animate.
FOR INTERNAL USAGE ONLY.
- (id) initWithParent: | (id<AMControllable>) | _parent | ||
control: | (NSString *) | _control | ||
attribute: | (NSString *) | _attribute | ||
Creates a new animation for the specified control and parameter.
parent | The parent of the control to animate. | |
control | The control to animate. | |
attribute | The attribute of the control to animate. |