Class CAAnimation

    • Constructor Detail

      • CAAnimation

        protected CAAnimation​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • animation

        public static CAAnimation animation()
        Creates a new animation object.
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • defaultValueForKey

        public static java.lang.Object defaultValueForKey​(java.lang.String key)
        Animations implement the same property model as defined by CALayer. See CALayer.h for more details.
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • animationEvents

        public NSArray<? extends SCNAnimationEvent> animationEvents()
        [@property] animationEvents Specifies the animation events attached to the receiver.
      • autoreverses

        public boolean autoreverses()
        Description copied from interface: CAMediaTiming
        When true, the object plays backwards after playing forwards. Defaults to NO.
        Specified by:
        autoreverses in interface CAMediaTiming
      • beginTime

        public double beginTime()
        Description copied from interface: CAMediaTiming
        The begin time of the object, in relation to its parent object, if applicable. Defaults to 0.
        Specified by:
        beginTime in interface CAMediaTiming
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • delegate

        public CAAnimationDelegate delegate()
        The delegate of the animation. This object is retained for the lifetime of the animation object. Defaults to nil. See below for the supported delegate methods.
      • duration

        public double duration()
        Description copied from interface: CAMediaTiming
        The basic duration of the object. Defaults to 0.
        Specified by:
        duration in interface CAMediaTiming
      • fadeInDuration

        public double fadeInDuration()
        [@property] 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.
      • fadeOutDuration

        public double fadeOutDuration()
        [@property] 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.
      • fillMode

        public java.lang.String fillMode()
        Description copied from interface: CAMediaTiming
        Defines how the timed object behaves outside its active duration. Local time may be clamped to either end of the active duration, or the element may be removed from the presentation. The legal values are `backwards', `forwards', `both' and `removed'. Defaults to `removed'.
        Specified by:
        fillMode in interface CAMediaTiming
      • isRemovedOnCompletion

        public boolean isRemovedOnCompletion()
        When true, the animation is removed from the render tree once its active duration has passed. Defaults to YES.
      • setRemovedOnCompletion

        public void setRemovedOnCompletion​(boolean value)
        When true, the animation is removed from the render tree once its active duration has passed. Defaults to YES.
      • repeatCount

        public float repeatCount()
        Description copied from interface: CAMediaTiming
        The repeat count of the object. May be fractional. Defaults to 0.
        Specified by:
        repeatCount in interface CAMediaTiming
      • repeatDuration

        public double repeatDuration()
        Description copied from interface: CAMediaTiming
        The repeat duration of the object. Defaults to 0.
        Specified by:
        repeatDuration in interface CAMediaTiming
      • runActionForKeyObjectArguments

        public void runActionForKeyObjectArguments​(java.lang.String event,
                                                   java.lang.Object anObject,
                                                   NSDictionary<?,​?> dict)
        Description copied from interface: CAAction
        Called to trigger the event named 'path' on the receiver. The object (e.g. the layer) on which the event happened is 'anObject'. The arguments dictionary may be nil, if non-nil it carries parameters associated with the event.
        Specified by:
        runActionForKeyObjectArguments in interface CAAction
      • setAnimationEvents

        public void setAnimationEvents​(NSArray<? extends SCNAnimationEvent> value)
        [@property] animationEvents Specifies the animation events attached to the receiver.
      • setAutoreverses

        public void setAutoreverses​(boolean value)
        Description copied from interface: CAMediaTiming
        When true, the object plays backwards after playing forwards. Defaults to NO.
        Specified by:
        setAutoreverses in interface CAMediaTiming
      • setBeginTime

        public void setBeginTime​(double value)
        Description copied from interface: CAMediaTiming
        The begin time of the object, in relation to its parent object, if applicable. Defaults to 0.
        Specified by:
        setBeginTime in interface CAMediaTiming
      • setDelegate

        public void setDelegate​(CAAnimationDelegate value)
        The delegate of the animation. This object is retained for the lifetime of the animation object. Defaults to nil. See below for the supported delegate methods.
      • setDuration

        public void setDuration​(double value)
        Description copied from interface: CAMediaTiming
        The basic duration of the object. Defaults to 0.
        Specified by:
        setDuration in interface CAMediaTiming
      • setFadeInDuration

        public void setFadeInDuration​(double value)
        [@property] 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.
      • setFadeOutDuration

        public void setFadeOutDuration​(double value)
        [@property] 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.
      • setFillMode

        public void setFillMode​(java.lang.String value)
        Description copied from interface: CAMediaTiming
        Defines how the timed object behaves outside its active duration. Local time may be clamped to either end of the active duration, or the element may be removed from the presentation. The legal values are `backwards', `forwards', `both' and `removed'. Defaults to `removed'.
        Specified by:
        setFillMode in interface CAMediaTiming
      • setRepeatCount

        public void setRepeatCount​(float value)
        Description copied from interface: CAMediaTiming
        The repeat count of the object. May be fractional. Defaults to 0.
        Specified by:
        setRepeatCount in interface CAMediaTiming
      • setRepeatDuration

        public void setRepeatDuration​(double value)
        Description copied from interface: CAMediaTiming
        The repeat duration of the object. Defaults to 0.
        Specified by:
        setRepeatDuration in interface CAMediaTiming
      • setSpeed

        public void setSpeed​(float value)
        Description copied from interface: CAMediaTiming
        The rate of the layer. Used to scale parent time to local time, e.g. if rate is 2, local time progresses twice as fast as parent time. Defaults to 1.
        Specified by:
        setSpeed in interface CAMediaTiming
      • setTimeOffset

        public void setTimeOffset​(double value)
        Description copied from interface: CAMediaTiming
        Additional offset in active local time. i.e. to convert from parent time tp to active local time t: t = (tp - begin) * speed + offset. One use of this is to "pause" a layer by setting `speed' to zero and `offset' to a suitable value. Defaults to 0.
        Specified by:
        setTimeOffset in interface CAMediaTiming
      • setTimingFunction

        public void setTimingFunction​(CAMediaTimingFunction value)
        A timing function defining the pacing of the animation. Defaults to nil indicating linear pacing.
      • setUsesSceneTimeBase

        public void setUsesSceneTimeBase​(boolean value)
        [@property] 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.
      • shouldArchiveValueForKey

        public boolean shouldArchiveValueForKey​(java.lang.String key)
      • speed

        public float speed()
        Description copied from interface: CAMediaTiming
        The rate of the layer. Used to scale parent time to local time, e.g. if rate is 2, local time progresses twice as fast as parent time. Defaults to 1.
        Specified by:
        speed in interface CAMediaTiming
      • timeOffset

        public double timeOffset()
        Description copied from interface: CAMediaTiming
        Additional offset in active local time. i.e. to convert from parent time tp to active local time t: t = (tp - begin) * speed + offset. One use of this is to "pause" a layer by setting `speed' to zero and `offset' to a suitable value. Defaults to 0.
        Specified by:
        timeOffset in interface CAMediaTiming
      • timingFunction

        public CAMediaTimingFunction timingFunction()
        A timing function defining the pacing of the animation. Defaults to nil indicating linear pacing.
      • usesSceneTimeBase

        public boolean usesSceneTimeBase()
        [@property] 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.
      • animationWithSCNAnimation

        public static CAAnimation animationWithSCNAnimation​(SCNAnimation animation)
        Bridge with SCNAnimation Initializes a CoreAnimation animation from a SCNAnimation
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding