Package apple.uikit

Class UIAccessibilityElement

    • Constructor Detail

      • UIAccessibilityElement

        protected UIAccessibilityElement​(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)
      • 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()
      • 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)
      • 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)
      • 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()
      • accessibilityContainer

        public java.lang.Object accessibilityContainer()
      • accessibilityFrame

        public CGRect accessibilityFrame()
        Description copied from class: NSObject
        Returns the frame of the element in screen coordinates. default == CGRectZero default on UIViews == the frame of the view Setting the property will change the frame that is returned to the accessibility client.
        Overrides:
        accessibilityFrame in class NSObject
      • accessibilityFrameInContainerSpace

        public CGRect accessibilityFrameInContainerSpace()
        When set, -[UIAccessibilityElement accessibilityFrame] will automatically adjust for the container's frame. This can be useful when the element is a descendant of a scroll view, for instance.
      • accessibilityHint

        public java.lang.String accessibilityHint()
        Description copied from class: NSObject
        Returns a localized string that describes the result of performing an action on the element, when the result is non-obvious. The hint should be a brief phrase. For example: "Purchases the item." or "Downloads the attachment." default == nil Setting the property will change the hint that is returned to the accessibility client.
        Overrides:
        accessibilityHint in class NSObject
      • accessibilityLabel

        public java.lang.String accessibilityLabel()
        Description copied from class: NSObject
        Returns the localized label that represents the element. If the element does not display text (an icon for example), this method should return text that best labels the element. For example: "Play" could be used for a button that is used to play music. "Play button" should not be used, since there is a trait that identifies the control is a button. default == nil default on UIKit controls == derived from the title Setting the property will change the label that is returned to the accessibility client.
        Overrides:
        accessibilityLabel in class NSObject
      • accessibilityTraits

        public long accessibilityTraits()
        Description copied from class: NSObject
        Returns a UIAccessibilityTraits mask that is the OR combination of all accessibility traits that best characterize the element. See UIAccessibilityConstants.h for a list of traits. When overriding this method, remember to combine your custom traits with [super accessibilityTraits]. default == UIAccessibilityTraitNone default on UIKit controls == traits that best characterize individual controls. Setting the property will change the traits that are returned to the accessibility client.
        Overrides:
        accessibilityTraits in class NSObject
      • accessibilityValue

        public java.lang.String accessibilityValue()
        Description copied from class: NSObject
        Returns a localized string that represents the value of the element, such as the value of a slider or the text in a text field. Use only when the label of the element differs from a value. For example: A volume slider has a label of "Volume", but a value of "60%". default == nil default on UIKit controls == values for appropriate controls Setting the property will change the value that is returned to the accessibility client.
        Overrides:
        accessibilityValue in class NSObject
      • initWithAccessibilityContainer

        public UIAccessibilityElement initWithAccessibilityContainer​(java.lang.Object container)
        initialize with the accessibility container that contains this element
      • isAccessibilityElement

        public boolean isAccessibilityElement()
        Description copied from class: NSObject
        Return YES if the receiver should be exposed as an accessibility element. default == NO default on UIKit controls == YES Setting the property to YES will cause the receiver to be visible to assistive applications.
        Overrides:
        isAccessibilityElement in class NSObject
      • setAccessibilityContainer_unsafe

        public void setAccessibilityContainer_unsafe​(java.lang.Object value)
      • setAccessibilityContainer

        public void setAccessibilityContainer​(java.lang.Object value)
      • setAccessibilityFrame

        public void setAccessibilityFrame​(CGRect value)
        Description copied from class: NSObject
        Returns the frame of the element in screen coordinates. default == CGRectZero default on UIViews == the frame of the view Setting the property will change the frame that is returned to the accessibility client.
        Overrides:
        setAccessibilityFrame in class NSObject
      • setAccessibilityFrameInContainerSpace

        public void setAccessibilityFrameInContainerSpace​(CGRect value)
        When set, -[UIAccessibilityElement accessibilityFrame] will automatically adjust for the container's frame. This can be useful when the element is a descendant of a scroll view, for instance.
      • setAccessibilityHint

        public void setAccessibilityHint​(java.lang.String value)
        Description copied from class: NSObject
        Returns a localized string that describes the result of performing an action on the element, when the result is non-obvious. The hint should be a brief phrase. For example: "Purchases the item." or "Downloads the attachment." default == nil Setting the property will change the hint that is returned to the accessibility client.
        Overrides:
        setAccessibilityHint in class NSObject
      • setAccessibilityLabel

        public void setAccessibilityLabel​(java.lang.String value)
        Description copied from class: NSObject
        Returns the localized label that represents the element. If the element does not display text (an icon for example), this method should return text that best labels the element. For example: "Play" could be used for a button that is used to play music. "Play button" should not be used, since there is a trait that identifies the control is a button. default == nil default on UIKit controls == derived from the title Setting the property will change the label that is returned to the accessibility client.
        Overrides:
        setAccessibilityLabel in class NSObject
      • setAccessibilityTraits

        public void setAccessibilityTraits​(long value)
        Description copied from class: NSObject
        Returns a UIAccessibilityTraits mask that is the OR combination of all accessibility traits that best characterize the element. See UIAccessibilityConstants.h for a list of traits. When overriding this method, remember to combine your custom traits with [super accessibilityTraits]. default == UIAccessibilityTraitNone default on UIKit controls == traits that best characterize individual controls. Setting the property will change the traits that are returned to the accessibility client.
        Overrides:
        setAccessibilityTraits in class NSObject
      • setAccessibilityValue

        public void setAccessibilityValue​(java.lang.String value)
        Description copied from class: NSObject
        Returns a localized string that represents the value of the element, such as the value of a slider or the text in a text field. Use only when the label of the element differs from a value. For example: A volume slider has a label of "Volume", but a value of "60%". default == nil default on UIKit controls == values for appropriate controls Setting the property will change the value that is returned to the accessibility client.
        Overrides:
        setAccessibilityValue in class NSObject
      • setIsAccessibilityElement

        public void setIsAccessibilityElement​(boolean value)
        Description copied from class: NSObject
        Return YES if the receiver should be exposed as an accessibility element. default == NO default on UIKit controls == YES Setting the property to YES will cause the receiver to be visible to assistive applications.
        Overrides:
        setIsAccessibilityElement in class NSObject
      • clearTextInputContextIdentifier

        public static void clearTextInputContextIdentifier​(java.lang.String identifier)