Class CAAnimation

CPObject
    extended byCAAnimation
Direct Known Subclasses:
CAPropertyAnimation

@implementation CAAnimation : CPObject

This is an animation class.


Method Summary
+(id)animation
          Creates a new CAAnimation instance.
+(id)defaultValueForKey:(CPString)aKey
          Returns nil.
-(id)init
          Initializes the receiver.
-(id)delegate
          Returns the animation's delegate.
-(BOOL)isRemovedOnCompletion
          Returns YES if the animation is removed after completion.
-(BOOL)removedOnCompletion
          Returns YES if the animation is removed after completion.
-(void)runActionForKey:(CPString)aKey object:(id)anObject arguments:(CPDictionary)arguments
-(void)setDelegate:(id)aDelegate
          Sets the animation delegate.
-(void)setRemovedOnCompletion:(BOOL)isRemovedOnCompletion
          Specifies whether this animation should be removed after it has completed.
-(void)shouldArchiveValueForKey:(CPString)aKey
          Returns YES.
-(CAMediaTimingFunction)timingFunction
          Returns the animation's timing function.

Methods inherited from class CPObject
initialize, alloc, class, instanceMethodForSelector, instancesRespondToSelector, isSubclassOfClass, load, new, setVersion, superclass, version, init, autorelease, awakeAfterUsingCoder, class, classForCoder, classForKeyedArchiver, className, copy, dealloc, description, doesNotRecognizeSelector, forwardInvocation, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableCopy, performSelector, performSelector, performSelector, release, replacementObjectForArchiver, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, retain, self, superclass


Method Detail

animation

+(id)animation
Creates a new CAAnimation instance
Returns:
a new CAAnimation instance

defaultValueForKey

+(id)defaultValueForKey:(CPString)aKey
Returns nil
Parameters:
aKey
Returns:
nil

init

-(id)init
Initializes the receiver
Returns:
the initialized receiver

delegate

-(id)delegate
Returns the animation's delegate

isRemovedOnCompletion

-(BOOL)isRemovedOnCompletion
Returns YES if the animation is removed after completion

removedOnCompletion

-(BOOL)removedOnCompletion
Returns YES if the animation is removed after completion

runActionForKey

-(void)runActionForKey:(CPString)aKey object:(id)anObject arguments:(CPDictionary)arguments
Parameters:
aKey
anObject
arguments

setDelegate

-(void)setDelegate:(id)aDelegate
Sets the animation delegate
Parameters:
aDelegate - the new delegate

setRemovedOnCompletion

-(void)setRemovedOnCompletion:(BOOL)isRemovedOnCompletion
Specifies whether this animation should be removed after it has completed.
Parameters:
isRemovedOnCompletion

shouldArchiveValueForKey

-(void)shouldArchiveValueForKey:(CPString)aKey
Returns YES
Parameters:
aKey
Returns:
YES

timingFunction

-(CAMediaTimingFunction)timingFunction
Returns the animation's timing function. If nil, then it has a linear pacing.

Created on Sat Sep 13 14:15:43 PDT 2008