Class CATransaction

  • All Implemented Interfaces:
    NSObject

    public class CATransaction
    extends NSObject
    • Constructor Detail

      • CATransaction

        protected CATransaction​(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)
      • animationDuration

        public static double animationDuration()
        Accessors for the "animationDuration" per-thread transaction property. Defines the default duration of animations added to layers. Defaults to 1/4s.
      • animationTimingFunction

        public static CAMediaTimingFunction animationTimingFunction()
        Accessors for the "animationTimingFunction" per-thread transaction property. The default value is nil, when set to a non-nil value any animations added to layers will have this value set as their "timingFunction" property. Added in Mac OS X 10.6.
      • automaticallyNotifiesObserversForKey

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

        public static void begin()
        Begin a new transaction for the current thread; nests.
      • 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()
      • commit

        public static void commit()
        Commit all changes made during the current transaction. Raises an exception if no current transaction exists.
      • debugDescription_static

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

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

        public static boolean disableActions()
        Accessors for the "disableActions" per-thread transaction property. Defines whether or not the layer's -actionForKey: method is used to find an action (aka. implicit animation) for each layer property change. Defaults to NO, i.e. implicit animations enabled.
      • flush

        public static void flush()
        Commits any extant implicit transaction. Will delay the actual commit until any nested explicit transactions have completed.
      • 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)
      • lock

        public static void lock()
        Methods to lock and unlock the global lock. Layer methods automatically obtain this while modifying shared state, but callers may need to lock around multiple operations to ensure consistency. The lock is a recursive spin-lock (i.e shouldn't be held for extended periods).
      • 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)
      • setAnimationDuration

        public static void setAnimationDuration​(double dur)
      • setAnimationTimingFunction

        public static void setAnimationTimingFunction​(CAMediaTimingFunction function)
      • setDisableActions

        public static void setDisableActions​(boolean flag)
      • setValueForKey_static

        public static void setValueForKey_static​(java.lang.Object anObject,
                                                 java.lang.String key)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public static void unlock()
      • valueForKey_static

        public static java.lang.Object valueForKey_static​(java.lang.String key)
        Associate arbitrary keyed-data with the current transaction (i.e. with the current thread). Nested transactions have nested data scope, i.e. reading a key searches for the innermost scope that has set it, setting a key always sets it in the innermost scope. Currently supported transaction properties include: "animationDuration", "animationTimingFunction", "completionBlock", "disableActions". See method declarations above for descriptions of each property. Attempting to set a property to a type other than its document type has an undefined result.
      • version_static

        public static long version_static()