public class CAAnimation extends NSObject implements NSSecureCoding, NSCopying, CAMediaTiming, CAAction, SCNAnimation
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
CAAnimation(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static CAAnimation |
alloc() |
static CAAnimation |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static CAAnimation |
animation()
Creates a new animation object.
|
NSArray<? extends SCNAnimationEvent> |
animationEvents()
[@property] animationEvents
|
static CAAnimation |
animationWithSCNAnimation(SCNAnimation animation)
Bridge with SCNAnimation
Initializes a CoreAnimation animation from a SCNAnimation
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
boolean |
autoreverses()
When true, the object plays backwards after playing forwards.
|
double |
beginTime()
The begin time of the object, in relation to its parent object, if
applicable.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
static java.lang.Object |
defaultValueForKey(java.lang.String key)
Animations implement the same property model as defined by CALayer.
|
CAAnimationDelegate |
delegate()
The delegate of the animation.
|
static java.lang.String |
description_static() |
double |
duration()
The basic duration of the object.
|
void |
encodeWithCoder(NSCoder coder) |
double |
fadeInDuration()
[@property] fadeInDuration
|
double |
fadeOutDuration()
[@property] fadeOutDuration
|
java.lang.String |
fillMode()
Defines how the timed object behaves outside its active duration.
|
static long |
hash_static() |
CAAnimation |
init() |
CAAnimation |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isRemovedOnCompletion()
When true, the animation is removed from the render tree once its
active duration has passed.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static CAAnimation |
new_objc() |
CAFrameRateRange |
preferredFrameRateRange()
Defines the range of desired frame rate in frames-per-second for this
animation.
|
float |
repeatCount()
The repeat count of the object.
|
double |
repeatDuration()
The repeat duration of the object.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
runActionForKeyObjectArguments(java.lang.String event,
java.lang.Object anObject,
NSDictionary<?,?> dict)
Called to trigger the event named 'path' on the receiver.
|
void |
setAnimationEvents(NSArray<? extends SCNAnimationEvent> value)
[@property] animationEvents
|
void |
setAutoreverses(boolean value)
When true, the object plays backwards after playing forwards.
|
void |
setBeginTime(double value)
The begin time of the object, in relation to its parent object, if
applicable.
|
void |
setDelegate(CAAnimationDelegate value)
The delegate of the animation.
|
void |
setDuration(double value)
The basic duration of the object.
|
void |
setFadeInDuration(double value)
[@property] fadeInDuration
|
void |
setFadeOutDuration(double value)
[@property] fadeOutDuration
|
void |
setFillMode(java.lang.String value)
Defines how the timed object behaves outside its active duration.
|
void |
setPreferredFrameRateRange(CAFrameRateRange value)
Defines the range of desired frame rate in frames-per-second for this
animation.
|
void |
setRemovedOnCompletion(boolean value)
When true, the animation is removed from the render tree once its
active duration has passed.
|
void |
setRepeatCount(float value)
The repeat count of the object.
|
void |
setRepeatDuration(double value)
The repeat duration of the object.
|
void |
setSpeed(float value)
The rate of the layer.
|
void |
setTimeOffset(double value)
Additional offset in active local time.
|
void |
setTimingFunction(CAMediaTimingFunction value)
A timing function defining the pacing of the animation.
|
void |
setUsesSceneTimeBase(boolean value)
[@property] usesSceneTimeBase
|
static void |
setVersion_static(long aVersion) |
boolean |
shouldArchiveValueForKey(java.lang.String key) |
float |
speed()
The rate of the layer.
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
double |
timeOffset()
Additional offset in active local time.
|
CAMediaTimingFunction |
timingFunction()
A timing function defining the pacing of the animation.
|
boolean |
usesSceneTimeBase()
[@property] usesSceneTimeBase
|
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static CAAnimation alloc()
public static CAAnimation allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static CAAnimation animation()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.Object defaultValueForKey(java.lang.String key)
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static CAAnimation new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public NSArray<? extends SCNAnimationEvent> animationEvents()
Specifies the animation events attached to the receiver.
public boolean autoreverses()
CAMediaTimingautoreverses in interface CAMediaTimingpublic double beginTime()
CAMediaTimingbeginTime in interface CAMediaTimingpublic java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic CAAnimationDelegate delegate()
public double duration()
CAMediaTimingduration in interface CAMediaTimingpublic void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic double fadeInDuration()
Determines the receiver's fade-in duration.
When the fadeInDuration is greater than zero, the effect of the animation progressively increase from 0% to 100% during the specified duration.
public double fadeOutDuration()
Determines the receiver's fade-out duration.
When the fadeOutDuration is greater than zero, the effect of the animation progressively decrease from 100% to 0% at the end of the animation duration.
public java.lang.String fillMode()
CAMediaTimingfillMode in interface CAMediaTimingpublic CAAnimation init()
public CAAnimation initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic boolean isRemovedOnCompletion()
public void setRemovedOnCompletion(boolean value)
public float repeatCount()
CAMediaTimingrepeatCount in interface CAMediaTimingpublic double repeatDuration()
CAMediaTimingrepeatDuration in interface CAMediaTimingpublic void runActionForKeyObjectArguments(java.lang.String event,
java.lang.Object anObject,
NSDictionary<?,?> dict)
CAActionrunActionForKeyObjectArguments in interface CAActionpublic void setAnimationEvents(NSArray<? extends SCNAnimationEvent> value)
Specifies the animation events attached to the receiver.
public void setAutoreverses(boolean value)
CAMediaTimingsetAutoreverses in interface CAMediaTimingpublic void setBeginTime(double value)
CAMediaTimingsetBeginTime in interface CAMediaTimingpublic void setDelegate(CAAnimationDelegate value)
public void setDuration(double value)
CAMediaTimingsetDuration in interface CAMediaTimingpublic void setFadeInDuration(double value)
Determines the receiver's fade-in duration.
When the fadeInDuration is greater than zero, the effect of the animation progressively increase from 0% to 100% during the specified duration.
public void setFadeOutDuration(double value)
Determines the receiver's fade-out duration.
When the fadeOutDuration is greater than zero, the effect of the animation progressively decrease from 100% to 0% at the end of the animation duration.
public void setFillMode(java.lang.String value)
CAMediaTimingsetFillMode in interface CAMediaTimingpublic void setRepeatCount(float value)
CAMediaTimingsetRepeatCount in interface CAMediaTimingpublic void setRepeatDuration(double value)
CAMediaTimingsetRepeatDuration in interface CAMediaTimingpublic void setSpeed(float value)
CAMediaTimingsetSpeed in interface CAMediaTimingpublic void setTimeOffset(double value)
CAMediaTimingsetTimeOffset in interface CAMediaTimingpublic void setTimingFunction(CAMediaTimingFunction value)
public void setUsesSceneTimeBase(boolean value)
Determines whether the receiver is evaluated using the scene time or the system time. Defaults to NO.
A scene-time based animation is evaluated using the "sceneTime" value of the renderer that renders the scene.
public boolean shouldArchiveValueForKey(java.lang.String key)
public float speed()
CAMediaTimingspeed in interface CAMediaTimingpublic double timeOffset()
CAMediaTimingtimeOffset in interface CAMediaTimingpublic CAMediaTimingFunction timingFunction()
public boolean usesSceneTimeBase()
Determines whether the receiver is evaluated using the scene time or the system time. Defaults to NO.
A scene-time based animation is evaluated using the "sceneTime" value of the renderer that renders the scene.
public static CAAnimation animationWithSCNAnimation(SCNAnimation animation)
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic CAFrameRateRange preferredFrameRateRange()
public void setPreferredFrameRateRange(CAFrameRateRange value)