public class UIAccessibilityElement extends UIResponder implements UIAccessibilityIdentification
Instances of this class can be used as "fake" accessibility elements. An accessibility container (see UIAccessibility.h) can create and vend instances of UIAccessibilityElement to cover for user interface items that are not backed by a UIView (for example: painted text or icon).
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retUIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler| Modifier | Constructor and Description |
|---|---|
protected |
UIAccessibilityElement(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accessibilityContainer() |
CGRect |
accessibilityFrame()
Returns the frame of the element in screen coordinates.
|
CGRect |
accessibilityFrameInContainerSpace()
When set, -[UIAccessibilityElement accessibilityFrame] will automatically adjust for the container's frame.
|
java.lang.String |
accessibilityHint()
Returns a localized string that describes the result of performing an action on the element, when the result is non-obvious.
|
java.lang.String |
accessibilityIdentifier()
A string that identifies the user interface element.
|
java.lang.String |
accessibilityLabel()
Returns the localized label that represents the element.
|
long |
accessibilityTraits()
Returns a UIAccessibilityTraits mask that is the OR combination of
all accessibility traits that best characterize the element.
|
java.lang.String |
accessibilityValue()
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.
|
static boolean |
accessInstanceVariablesDirectly() |
static UIAccessibilityElement |
alloc() |
static UIAccessibilityElement |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static void |
clearTextInputContextIdentifier(java.lang.String identifier) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
UIAccessibilityElement |
init() |
UIAccessibilityElement |
initWithAccessibilityContainer(java.lang.Object container)
initialize with the accessibility container that contains this element
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isAccessibilityElement()
Return YES if the receiver should be exposed as an accessibility element.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static UIAccessibilityElement |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAccessibilityContainer_unsafe(java.lang.Object value) |
void |
setAccessibilityContainer(java.lang.Object value) |
void |
setAccessibilityFrame(CGRect value)
Returns the frame of the element in screen coordinates.
|
void |
setAccessibilityFrameInContainerSpace(CGRect value)
When set, -[UIAccessibilityElement accessibilityFrame] will automatically adjust for the container's frame.
|
void |
setAccessibilityHint(java.lang.String value)
Returns a localized string that describes the result of performing an action on the element, when the result is non-obvious.
|
void |
setAccessibilityIdentifier(java.lang.String value)
A string that identifies the user interface element.
|
void |
setAccessibilityLabel(java.lang.String value)
Returns the localized label that represents the element.
|
void |
setAccessibilityTraits(long value)
Returns a UIAccessibilityTraits mask that is the OR combination of
all accessibility traits that best characterize the element.
|
void |
setAccessibilityValue(java.lang.String value)
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.
|
void |
setIsAccessibilityElement(boolean value)
Return YES if the receiver should be exposed as an accessibility element.
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommandaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityIncrement, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityUserInputLabels, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityUserInputLabels, setAccessibilityViewIsModal, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected UIAccessibilityElement(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static UIAccessibilityElement alloc()
public static UIAccessibilityElement allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static UIAccessibilityElement new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public java.lang.Object accessibilityContainer()
public CGRect accessibilityFrame()
NSObjectaccessibilityFrame in class NSObjectpublic CGRect accessibilityFrameInContainerSpace()
public java.lang.String accessibilityHint()
NSObjectaccessibilityHint in class NSObjectpublic java.lang.String accessibilityIdentifier()
UIAccessibilityIdentificationaccessibilityIdentifier in interface UIAccessibilityIdentificationpublic java.lang.String accessibilityLabel()
NSObjectaccessibilityLabel in class NSObjectpublic long accessibilityTraits()
NSObjectaccessibilityTraits in class NSObjectpublic java.lang.String accessibilityValue()
NSObjectaccessibilityValue in class NSObjectpublic UIAccessibilityElement init()
init in class UIResponderpublic UIAccessibilityElement initWithAccessibilityContainer(java.lang.Object container)
public boolean isAccessibilityElement()
NSObjectisAccessibilityElement in class NSObjectpublic void setAccessibilityContainer_unsafe(java.lang.Object value)
public void setAccessibilityContainer(java.lang.Object value)
public void setAccessibilityFrame(CGRect value)
NSObjectsetAccessibilityFrame in class NSObjectpublic void setAccessibilityFrameInContainerSpace(CGRect value)
public void setAccessibilityHint(java.lang.String value)
NSObjectsetAccessibilityHint in class NSObjectpublic void setAccessibilityIdentifier(java.lang.String value)
UIAccessibilityIdentificationsetAccessibilityIdentifier in interface UIAccessibilityIdentificationpublic void setAccessibilityLabel(java.lang.String value)
NSObjectsetAccessibilityLabel in class NSObjectpublic void setAccessibilityTraits(long value)
NSObjectsetAccessibilityTraits in class NSObjectpublic void setAccessibilityValue(java.lang.String value)
NSObjectsetAccessibilityValue in class NSObjectpublic void setIsAccessibilityElement(boolean value)
NSObjectsetIsAccessibilityElement in class NSObjectpublic static void clearTextInputContextIdentifier(java.lang.String identifier)