Java android.view.accessibility AccessibilityNodeInfo fields, constructors, methods, implement or subclass

Example usage for Java android.view.accessibility AccessibilityNodeInfo fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.view.accessibility AccessibilityNodeInfo.

The text is from its open source code.

Field

intACTION_FOCUS
Action that gives input focus to the node.
intACTION_CLICK
Action that clicks on the node info.
intACTION_LONG_CLICK
Action that long clicks on the node.
intACTION_ACCESSIBILITY_FOCUS
Action that gives accessibility focus to the node.
intACTION_CLEAR_ACCESSIBILITY_FOCUS
Action that clears accessibility focus of the node.
intACTION_NEXT_AT_MOVEMENT_GRANULARITY
Action that requests to go to the next entity in this node's text at a given movement granularity.
intACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY
Action that requests to go to the previous entity in this node's text at a given movement granularity.
intACTION_NEXT_HTML_ELEMENT
Action to move to the next HTML element of a given type.
intACTION_PREVIOUS_HTML_ELEMENT
Action to move to the previous HTML element of a given type.
intACTION_SCROLL_FORWARD
Action to scroll the node content forward.
intACTION_SCROLL_BACKWARD
Action to scroll the node content backward.
intACTION_PASTE
Action to paste the current clipboard content.
intACTION_DISMISS
Action to dismiss a dismissable node.
intACTION_SET_TEXT
Action that sets the text of the node.
StringACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT
Argument for which movement granularity to be used when traversing the node text.
StringACTION_ARGUMENT_HTML_ELEMENT_STRING
Argument for which HTML element to get moving to the next/previous HTML element.
StringACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN
Argument for whether when moving at granularity to extend the selection or to move it otherwise.
StringACTION_ARGUMENT_SELECTION_START_INT
Argument for specifying the selection start.
StringACTION_ARGUMENT_SELECTION_END_INT
Argument for specifying the selection end.
StringACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE
Argument for specifying the text content to set.
StringACTION_ARGUMENT_ROW_INT
Argument for specifying the collection row to make visible on screen.
StringACTION_ARGUMENT_PROGRESS_VALUE
Argument for specifying the progress value to set.
intFOCUS_INPUT
The input focus.
intFOCUS_ACCESSIBILITY
The accessibility focus.
intMOVEMENT_GRANULARITY_CHARACTER
Movement granularity bit for traversing the text of a node by character.
intMOVEMENT_GRANULARITY_WORD
Movement granularity bit for traversing the text of a node by word.
intMOVEMENT_GRANULARITY_LINE
Movement granularity bit for traversing the text of a node by line.
intMOVEMENT_GRANULARITY_PARAGRAPH
Movement granularity bit for traversing the text of a node by paragraph.
intMOVEMENT_GRANULARITY_PAGE
Movement granularity bit for traversing the text of a node by page.

Method

voidaddAction(AccessibilityAction action)
Adds an action that can be performed on the node.
voidaddAction(int action)
Adds an action that can be performed on the node.
booleanequals(Object object)
ListfindAccessibilityNodeInfosByText(String text)
Finds AccessibilityNodeInfo s by text.
ListfindAccessibilityNodeInfosByViewId(String viewId)
Finds AccessibilityNodeInfo s by the fully qualified view id's resource name where a fully qualified id is of the from "package:id/id_resource_name".
AccessibilityNodeInfofindFocus(int focus)
Find the view that has the specified focus type.
intgetActions()
Gets the actions that can be performed on the node.
voidgetBoundsInParent(Rect outBounds)
Gets the node bounds in parent coordinates.
voidgetBoundsInScreen(Rect outBounds)
Gets the node bounds in screen coordinates.
AccessibilityNodeInfogetChild(int index)
Get the child at given index.
intgetChildCount()
Gets the number of children.
CharSequencegetClassName()
Gets the class this node comes from.
CharSequencegetContentDescription()
Gets the content description of this node.
AccessibilityNodeInfogetLabeledBy()
Gets the node info which serves as the label of the view represented by this info for accessibility purposes.
intgetMovementGranularities()
Gets the movement granularities for traversing the text of this node.
CharSequencegetPackageName()
Gets the package this node comes from.
AccessibilityNodeInfogetParent()
Gets the parent.
CharSequencegetText()
Gets the text of this node.
StringgetViewIdResourceName()
Gets the fully qualified resource name of the source view's id.
AccessibilityWindowInfogetWindow()
Gets the window to which this node belongs.
intgetWindowId()
Gets the id of the window from which the info comes from.
inthashCode()
booleanisAccessibilityFocused()
Gets whether this node is accessibility focused.
booleanisCheckable()
Gets whether this node is checkable.
booleanisChecked()
Gets whether this node is checked.
booleanisClickable()
Gets whether this node is clickable.
booleanisEditable()
Gets if the node is editable.
booleanisEnabled()
Gets whether this node is enabled.
booleanisFocusable()
Gets whether this node is focusable.
booleanisFocused()
Gets whether this node is focused.
booleanisLongClickable()
Gets whether this node is long clickable.
booleanisScrollable()
Gets if the node is scrollable.
booleanisSelected()
Gets whether this node is selected.
booleanisVisibleToUser()
Gets whether this node is visible to the user.
AccessibilityNodeInfoobtain(View source)
Returns a cached instance if such is available otherwise a new one and sets the source.
AccessibilityNodeInfoobtain(AccessibilityNodeInfo info)
Returns a cached instance if such is available or a new one is create.
AccessibilityNodeInfoobtain()
Returns a cached instance if such is available otherwise a new one.
booleanperformAction(int action)
Performs an action on the node.
booleanperformAction(int action, Bundle arguments)
Performs an action on the node.
voidrecycle()
Return an instance back to be reused.
voidsetBoundsInScreen(Rect bounds)
Sets the node bounds in screen coordinates.
voidsetClassName(CharSequence className)
Sets the class this node comes from.
voidsetClickable(boolean clickable)
Sets whether this node is clickable.
voidsetContentDescription(CharSequence contentDescription)
Sets the content description of this node.
voidsetEnabled(boolean enabled)
Sets whether this node is enabled.
voidsetMovementGranularities(int granularities)
Sets the movement granularities for traversing the text of this node.
voidsetScrollable(boolean scrollable)
Sets if the node is scrollable.
voidsetText(CharSequence text)
Sets the text of this node.