Class NSRunLoop

    • Constructor Detail

      • NSRunLoop

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NSRunLoop allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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()
      • currentRunLoop

        @NotNull
        public static @NotNull NSRunLoop currentRunLoop()
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • mainRunLoop

        @NotNull
        public static @NotNull NSRunLoop mainRunLoop()
        API-Since: 2.0
      • new_objc

        public static NSRunLoop 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()
      • acceptInputForModeBeforeDate

        public void acceptInputForModeBeforeDate​(@NotNull
                                                 @NotNull java.lang.String mode,
                                                 @NotNull
                                                 @NotNull NSDate limitDate)
      • addPortForMode

        public void addPortForMode​(@NotNull
                                   @NotNull NSPort aPort,
                                   @NotNull
                                   @NotNull java.lang.String mode)
      • addTimerForMode

        public void addTimerForMode​(@NotNull
                                    @NotNull NSTimer timer,
                                    @NotNull
                                    @NotNull java.lang.String mode)
      • cancelPerformSelectorTargetArgument

        public void cancelPerformSelectorTargetArgument​(@NotNull
                                                        @NotNull org.moe.natj.objc.SEL aSelector,
                                                        @NotNull
                                                        @NotNull java.lang.Object target,
                                                        @Nullable
                                                        @Nullable java.lang.Object arg)
      • cancelPerformSelectorsWithTarget

        public void cancelPerformSelectorsWithTarget​(@NotNull
                                                     @NotNull java.lang.Object target)
      • currentMode

        @Nullable
        public @Nullable java.lang.String currentMode()
      • getCFRunLoop

        @NotNull
        public @NotNull CFRunLoopRef getCFRunLoop()
      • limitDateForMode

        @Nullable
        public @Nullable NSDate limitDateForMode​(@NotNull
                                                 @NotNull java.lang.String mode)
      • performBlock

        public void performBlock​(@NotNull
                                 @NotNull NSRunLoop.Block_performBlock block)
        Schedules the execution of a block on the target run loop. - parameter: block The block to execute API-Since: 10.0
      • performInModesBlock

        public void performInModesBlock​(@NotNull
                                        @NotNull NSArray<java.lang.String> modes,
                                        @NotNull
                                        @NotNull NSRunLoop.Block_performInModesBlock block)
        Schedules the execution of a block on the target run loop in given modes. - parameter: modes An array of input modes for which the block may be executed. - parameter: block The block to execute API-Since: 10.0
      • performSelectorTargetArgumentOrderModes

        public void performSelectorTargetArgumentOrderModes​(@NotNull
                                                            @NotNull org.moe.natj.objc.SEL aSelector,
                                                            @NotNull
                                                            @NotNull java.lang.Object target,
                                                            @Nullable
                                                            @Nullable java.lang.Object arg,
                                                            long order,
                                                            @NotNull
                                                            @NotNull NSArray<java.lang.String> modes)
      • removePortForMode

        public void removePortForMode​(@NotNull
                                      @NotNull NSPort aPort,
                                      @NotNull
                                      @NotNull java.lang.String mode)
      • run

        public void run()
      • runModeBeforeDate

        public boolean runModeBeforeDate​(@NotNull
                                         @NotNull java.lang.String mode,
                                         @NotNull
                                         @NotNull NSDate limitDate)
      • runUntilDate

        public void runUntilDate​(@NotNull
                                 @NotNull NSDate limitDate)
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.