Package apple.uikit

Class UIViewPropertyAnimator

    • Constructor Detail

      • UIViewPropertyAnimator

        protected UIViewPropertyAnimator​(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)
      • 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()
      • 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)
      • runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion

        public static java.lang.Object runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion​(double duration,
                                                                                                           double delay,
                                                                                                           long options,
                                                                                                           UIViewPropertyAnimator.Block_runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion_3 animations,
                                                                                                           UIViewPropertyAnimator.Block_runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion_4 completion)
        This method provides compatibility with the old style [UIView animationWithDuration:...] method. It is also useful for controlling how animations options are inherited. Creates a UIViewPropertyAnimator, sets the duration, options, etc. And starts the animation with the associated animation and completion blocks. The animator returned is interruptible only if it is not called from within the execution block of another animation (animator or legacy). Note that if it is called within the execution block of another animation it will inherit the duration and other characteristics of that animation UNLESS the appropriate override options have been specified. Also note that if is called within the execution block of another propertyAnimator that is interruptible, the implicit animations defined by this call will be tracked by the outer propertyAnimator.
      • 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()
      • copyWithZone

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

        public double delay()
        Defaults to 0. This property is set when calling -[UIView startAnimationAfterDelay:].
      • duration

        public double duration()
      • finishAnimationAtPosition

        public void finishAnimationAtPosition​(long finalPosition)
        Description copied from interface: UIViewAnimating
        This method may only be called if the animator is in the stopped state. The finalPosition argument should indicate the final values of the animated properties.
        Specified by:
        finishAnimationAtPosition in interface UIViewAnimating
      • fractionComplete

        public double fractionComplete()
        Description copied from interface: UIViewAnimating
        fractionComplete values are typically between 0 and 1. Some adopters may choose to give meaning to values less than zero and greater than 1 to facilitate over and undershooting. The setter is usually a nop when the animation is running. Adopters are free to change this if it makes sense. An adopter may also choose to only return a meaningful result for this property if it is read while the animation is not running.
        Specified by:
        fractionComplete in interface UIViewAnimating
      • isInterruptible

        public boolean isInterruptible()
        Defaults to YES. Raises if set on an active animator.
      • setInterruptible

        public void setInterruptible​(boolean value)
        Defaults to YES. Raises if set on an active animator.
      • isManualHitTestingEnabled

        public boolean isManualHitTestingEnabled()
        Defaults to NO. Set if you need to manage the the hittesting of animating view hierarchies
      • setManualHitTestingEnabled

        public void setManualHitTestingEnabled​(boolean value)
        Defaults to NO. Set if you need to manage the the hittesting of animating view hierarchies
      • isReversed

        public boolean isReversed()
        Description copied from interface: UIViewAnimating
        Reversed indicates that the animation is running in the reversed direction when running is YES. If running is NO, it indicates that it will run in the reversed direction when it is started.
        Specified by:
        isReversed in interface UIViewAnimating
      • setReversed

        public void setReversed​(boolean value)
        Description copied from interface: UIViewAnimating
        Reversed indicates that the animation is running in the reversed direction when running is YES. If running is NO, it indicates that it will run in the reversed direction when it is started.
        Specified by:
        setReversed in interface UIViewAnimating
      • isRunning

        public boolean isRunning()
        Description copied from interface: UIViewAnimating
        Running indicates that the animation is running either in the forward or the reversed direction. The state of a running animation is always active.
        Specified by:
        isRunning in interface UIViewAnimating
      • isUserInteractionEnabled

        public boolean isUserInteractionEnabled()
        Defaults to YES. Raises if set on an active animator.
      • setUserInteractionEnabled

        public void setUserInteractionEnabled​(boolean value)
        Defaults to YES. Raises if set on an active animator.
      • pauseAnimation

        public void pauseAnimation()
        Description copied from interface: UIViewAnimating
        Pauses an active, running animation, or start the animation as paused. This is different than stopping an animation.
        Specified by:
        pauseAnimation in interface UIViewAnimating
      • setFractionComplete

        public void setFractionComplete​(double value)
        Description copied from interface: UIViewAnimating
        fractionComplete values are typically between 0 and 1. Some adopters may choose to give meaning to values less than zero and greater than 1 to facilitate over and undershooting. The setter is usually a nop when the animation is running. Adopters are free to change this if it makes sense. An adopter may also choose to only return a meaningful result for this property if it is read while the animation is not running.
        Specified by:
        setFractionComplete in interface UIViewAnimating
      • startAnimation

        public void startAnimation()
        Description copied from interface: UIViewAnimating
        Starts the animation either from an inactive state, or if the animation has been paused.
        Specified by:
        startAnimation in interface UIViewAnimating
      • stopAnimation

        public void stopAnimation​(boolean withoutFinishing)
        Description copied from interface: UIViewAnimating
        Stops the animation. The values of a view's animated property values are updated to correspond to the values that were last rendered. If withoutFinishing == YES, then the animator immediately becomes inactive. Otherwise it enters the stopped state and it is incumbent on the client to explicitly finish the animation by calling finishAnimationAtPosition:. Note when an animation finishes naturally this method is not called.
        Specified by:
        stopAnimation in interface UIViewAnimating
      • pausesOnCompletion

        public boolean pausesOnCompletion()
        Defaults to NO. Provides the ability for an animator to pause on completion instead of transitioning to the .inactive state.
      • scrubsLinearly

        public boolean scrubsLinearly()
        Defaults to YES. Provides the ability for an animator to pause and scrub either linearly or using the animator’s current timing.
      • setPausesOnCompletion

        public void setPausesOnCompletion​(boolean value)
        Defaults to NO. Provides the ability for an animator to pause on completion instead of transitioning to the .inactive state.
      • setScrubsLinearly

        public void setScrubsLinearly​(boolean value)
        Defaults to YES. Provides the ability for an animator to pause and scrub either linearly or using the animator’s current timing.