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.
    • Constructor Detail

      • UIAccessibilityLocationDescriptor

        protected UIAccessibilityLocationDescriptor​(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)
      • attributedName

        public 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​(java.lang.String key)
      • 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()
      • 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​(java.lang.String name,
                                                                         CGPoint point,
                                                                         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​(java.lang.String name,
                                                                  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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • name

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

        public static java.lang.Object new_objc()
      • 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

        public 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.