public abstract class CAAnimation extends NSObject implements CAAction, CAMediaTiming
Constructor and Description |
---|
CAAnimation() |
Modifier and Type | Method and Description |
---|---|
static CATransition |
animation()
Constructs and returns a new CAAnimation.
|
abstract void |
animationDidStart(CAAnimation animation)
It is called when the specified CAAnimation begins playing.
|
abstract void |
animationDidStop(CAAnimation animation,
boolean finished)
It called when the specified CAAnimation finished playing.
|
static String |
defaultValueForKey(String key)
Specifies the default value of the specified key.
|
NSObject |
delegate()
Returns the delegate of this CAAnimation object.
|
boolean |
isRemovedOnCompletion()
Returns a Boolean that shows whether this CAAnimation is removed from the
layer on completion.
|
void |
setDelegate(NSObject delegate)
Sets the delegate for this CAAnimation object.
|
void |
setRemovedOnCompletion(boolean removedOnCompletion)
Sets a Boolean that defines whether this CAAnimation is removed from the
layer on completion.
|
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
runActionForKey
autoreverses, beginTime, duration, fillMode, repeatCount, repeatDuration, setAutoreverses, setBeginTime, setDuration, setFillMode, setRepeatCount, setRepeatDuration, setSpeed, setTimeOffset, speed, timeOffset
public static String defaultValueForKey(String key)
key
- The key for which the value is requested.public static CATransition animation()
public NSObject delegate()
public void setDelegate(NSObject delegate)
delegate
- The delegate of this CAAnimation object.public boolean isRemovedOnCompletion()
public void setRemovedOnCompletion(boolean removedOnCompletion)
removedOnCompletion
- TRUE then the CAAnimation is removed from the
layer on completion.public abstract void animationDidStart(CAAnimation animation)
animation
- The CAAnimation that has just begun playing.public abstract void animationDidStop(CAAnimation animation, boolean finished)
animation
- The CAAnimation that finished playing.finished
- Whether the animation finishedCopyright © 2020. All rights reserved.