Class CASpringAnimation

    • Constructor Detail

      • CASpringAnimation

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CASpringAnimation allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • animationWithKeyPath

        public static CASpringAnimation animationWithKeyPath​(@Nullable
                                                             @Nullable java.lang.String path)
      • automaticallyNotifiesObserversForKey

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

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

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

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

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

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

        @Nullable
        public static @Nullable java.lang.Object defaultValueForKey​(@NotNull
                                                                    @NotNull java.lang.String key)
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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()
      • damping

        public double damping()
        The damping coefficient. Must be greater than or equal to 0. Defaults to 10.
      • initialVelocity

        public double initialVelocity()
        The initial velocity of the object attached to the spring. Defaults to zero, which represents an unmoving object. Negative values represent the object moving away from the spring attachment point, positive values represent the object moving towards the spring attachment point.
      • mass

        public double mass()
        The mass of the object attached to the end of the spring. Must be greater than 0. Defaults to one.
      • setDamping

        public void setDamping​(double value)
        The damping coefficient. Must be greater than or equal to 0. Defaults to 10.
      • setInitialVelocity

        public void setInitialVelocity​(double value)
        The initial velocity of the object attached to the spring. Defaults to zero, which represents an unmoving object. Negative values represent the object moving away from the spring attachment point, positive values represent the object moving towards the spring attachment point.
      • setMass

        public void setMass​(double value)
        The mass of the object attached to the end of the spring. Must be greater than 0. Defaults to one.
      • setStiffness

        public void setStiffness​(double value)
        The spring stiffness coefficient. Must be greater than 0. Defaults to 100.
      • settlingDuration

        public double settlingDuration()
        Returns the estimated duration required for the spring system to be considered at rest. The duration is evaluated for the current animation parameters.
      • stiffness

        public double stiffness()
        The spring stiffness coefficient. Must be greater than 0. Defaults to 100.
      • animationWithSCNAnimation

        @NotNull
        public static @NotNull CAAnimation animationWithSCNAnimation​(@NotNull
                                                                     @NotNull SCNAnimation animation)
      • 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
        Overrides:
        _supportsSecureCoding in class CABasicAnimation
      • allowsOverdamping

        public boolean allowsOverdamping()
        Whether true overdamping is allowed (otherwise it is treated as critically damped). Defaults to false. API-Since: 17.0
      • bounce

        public double bounce()
        How bouncy the spring is. A value of 0 indicates no bounces (a critically damped spring), positive values indicate increasing amounts of bounce (with typical values being between 0.0 and 1.0), and negative values indicate overdamped springs (with typical values being between 0.0 and -1.0). API-Since: 17.0
      • initWithPerceptualDurationBounce

        public CASpringAnimation initWithPerceptualDurationBounce​(double perceptualDuration,
                                                                  double bounce)
        Creates a spring animation with coefficients computed from the specified perceptual duration and bounce. A spring animation created with this initializer will have allowsOverdamping set to true (so will use overdamping when a negative bounce is specified). API-Since: 17.0
      • perceptualDuration

        public double perceptualDuration()
        The perceptual duration, which defines the pace of the spring. API-Since: 17.0
      • setAllowsOverdamping

        public void setAllowsOverdamping​(boolean value)
        Whether true overdamping is allowed (otherwise it is treated as critically damped). Defaults to false. API-Since: 17.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.