Package apple.uikit

Class UIAccessibilityCustomAction

  • All Implemented Interfaces:
    NSObject

    public class UIAccessibilityCustomAction
    extends NSObject
    API-Since: 8.0
    • Constructor Detail

      • UIAccessibilityCustomAction

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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()
      • 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()
      • initWithNameTargetSelector

        public UIAccessibilityCustomAction initWithNameTargetSelector​(@NotNull
                                                                      @NotNull java.lang.String name,
                                                                      @Nullable
                                                                      @Nullable java.lang.Object target,
                                                                      @NotNull
                                                                      @NotNull org.moe.natj.objc.SEL selector)
      • name

        @NotNull
        public @NotNull java.lang.String name()
        A localized name that describes the action.
      • selector

        @NotNull
        public @NotNull org.moe.natj.objc.SEL selector()
        The method that will be called on the target to perform the action. It must conform to one of the following signatures: - (BOOL)myPerformActionMethod; - (BOOL)myPerformActionMethod:(UIAccessibilityCustomAction *)action;
      • setName

        public void setName​(@NotNull
                            @NotNull java.lang.String value)
        A localized name that describes the action.
      • setSelector

        public void setSelector​(@NotNull
                                @NotNull org.moe.natj.objc.SEL value)
        The method that will be called on the target to perform the action. It must conform to one of the following signatures: - (BOOL)myPerformActionMethod; - (BOOL)myPerformActionMethod:(UIAccessibilityCustomAction *)action;
      • setTarget_unsafe

        public void setTarget_unsafe​(@Nullable
                                     @Nullable java.lang.Object value)
        The object that will perform the action.
      • setTarget

        public void setTarget​(@Nullable
                              @Nullable java.lang.Object value)
        The object that will perform the action.
      • target

        @Nullable
        public @Nullable java.lang.Object target()
        The object that will perform the action.
      • attributedName

        @NotNull
        public @NotNull NSAttributedString attributedName()
        Underlying attributed version of the "name" property. Setting this property will change the value of the "name" property and vice-versa. API-Since: 11.0
      • initWithAttributedNameTargetSelector

        public UIAccessibilityCustomAction initWithAttributedNameTargetSelector​(@NotNull
                                                                                @NotNull NSAttributedString attributedName,
                                                                                @Nullable
                                                                                @Nullable java.lang.Object target,
                                                                                @NotNull
                                                                                @NotNull org.moe.natj.objc.SEL selector)
        API-Since: 11.0
      • setAttributedName

        public void setAttributedName​(@NotNull
                                      @NotNull NSAttributedString value)
        Underlying attributed version of the "name" property. Setting this property will change the value of the "name" property and vice-versa. API-Since: 11.0
      • image

        @Nullable
        public @Nullable UIImage image()
        An image representing the action to be shown with some assistive technologies such as Switch Control.
      • initWithAttributedNameImageTargetSelector

        public UIAccessibilityCustomAction initWithAttributedNameImageTargetSelector​(@NotNull
                                                                                     @NotNull NSAttributedString attributedName,
                                                                                     @Nullable
                                                                                     @Nullable UIImage image,
                                                                                     @Nullable
                                                                                     @Nullable java.lang.Object target,
                                                                                     @NotNull
                                                                                     @NotNull org.moe.natj.objc.SEL selector)
        API-Since: 14.0
      • initWithNameImageTargetSelector

        public UIAccessibilityCustomAction initWithNameImageTargetSelector​(@NotNull
                                                                           @NotNull java.lang.String name,
                                                                           @Nullable
                                                                           @Nullable UIImage image,
                                                                           @Nullable
                                                                           @Nullable java.lang.Object target,
                                                                           @NotNull
                                                                           @NotNull org.moe.natj.objc.SEL selector)
        API-Since: 14.0
      • setImage

        public void setImage​(@Nullable
                             @Nullable UIImage value)
        An image representing the action to be shown with some assistive technologies such as Switch Control.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.