Package apple.uikit

Class UIAccessibilityLocationDescriptor

  • All Implemented Interfaces:
    NSObject

    public class UIAccessibilityLocationDescriptor
    extends NSObject
    UIAccessibilityLocationDescriptor objects are used to describe to assistive technologies points of interest within a view; where they are and how an assistive technology should describe them. For example, the `accessibilityDragSourceDescriptors` and `accessibilityDropPointDescriptors` properties in the UIAccessibilityDragging informal protocol use UIAccessibilityLocationDescriptor objects to describe where drags may begin and end. API-Since: 11.0
    • Constructor Detail

      • UIAccessibilityLocationDescriptor

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • attributedName

        @NotNull
        public @NotNull NSAttributedString attributedName()
        Assistive technologies will use the attributedName of the descriptor when describing it to the user (for instance, VoiceOver will speak it).
      • 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()
      • initWithNamePointInView

        public UIAccessibilityLocationDescriptor initWithNamePointInView​(@NotNull
                                                                         @NotNull java.lang.String name,
                                                                         CGPoint point,
                                                                         @NotNull
                                                                         @NotNull UIView view)
        Provide the view, the point in that view's coordinate space that is of interest, and a name to use to describe it to the user.
      • initWithNameView

        public UIAccessibilityLocationDescriptor initWithNameView​(@NotNull
                                                                  @NotNull java.lang.String name,
                                                                  @NotNull
                                                                  @NotNull UIView view)
        Convenience initializer that uses the view's accessibilityActivationPoint. (This point will be converted to the coordinate space of the view). Note that by default, the accessibilityActivationPoint of a view is its center.
      • 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)
      • name

        @NotNull
        public @NotNull java.lang.String name()
        The "name" property and initializer are conveniences for referring to the "attributedName" property, which is the real underlying property.
      • point

        public CGPoint point()
        The point in the view that is being described. The point is in the view's coordinate space.
      • 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()
      • view

        @Nullable
        public @Nullable UIView view()
        The view in which the described point resides. This property is weak to make it simple to avoid reference cycles. Descriptors whose views have been deallocated (or are no longer in a visible window, or are obscured) will be silently ignored. That said, you should still clean up after yourself.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.