java.lang.Object | |
↳ | android.support.v4.view.AccessibilityDelegateCompat |
Known Direct Subclasses |
Helper for accessing
View.AccessibilityDelegate
introduced after
API level 4 in a backwards compatible fashion.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Creates a new instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Dispatches an
AccessibilityEvent
to the host
View
first and then
to its children for adding their text content to the event.
|
||||||||||
|
Gets the provider for managing a virtual view hierarchy rooted at this View
and reported to
AccessibilityService
s
that explore the window content.
|
||||||||||
|
Initializes an
AccessibilityEvent
with information about the
the host View which is the event source.
|
||||||||||
|
Initializes an
AccessibilityNodeInfoCompat
with information about the host view.
|
||||||||||
|
Gives a chance to the host View to populate the accessibility event with its
text content.
|
||||||||||
|
Called when a child of the host View has requested sending an
AccessibilityEvent
and gives an opportunity to the parent (the host)
to augment the event.
|
||||||||||
|
Performs the specified accessibility action on the view.
|
||||||||||
|
Sends an accessibility event of the given type.
|
||||||||||
|
Sends an accessibility event.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates a new instance.
Dispatches an
AccessibilityEvent
to the host
View
first and then
to its children for adding their text content to the event.
The default implementation behaves as
View#dispatchPopulateAccessibilityEvent(AccessibilityEvent)
for
the case of no accessibility delegate been set.
host | The View hosting the delegate. |
---|---|
event | The event. |
Gets the provider for managing a virtual view hierarchy rooted at this View
and reported to
AccessibilityService
s
that explore the window content.
The default implementation behaves as
ViewCompat#getAccessibilityNodeProvider(View)
for the case of no accessibility delegate been set.
Initializes an
AccessibilityEvent
with information about the
the host View which is the event source.
The default implementation behaves as
ViewCompat#onInitalizeAccessibilityEvent(View v, AccessibilityEvent event)
for
the case of no accessibility delegate been set.
host | The View hosting the delegate. |
---|---|
event | The event to initialize. |
Initializes an
AccessibilityNodeInfoCompat
with information about the host view.
The default implementation behaves as
ViewCompat#onInitializeAccessibilityNodeInfo(View, AccessibilityNodeInfoCompat)
for
the case of no accessibility delegate been set.
host | The View hosting the delegate. |
---|---|
info | The instance to initialize. |
Gives a chance to the host View to populate the accessibility event with its text content.
The default implementation behaves as
ViewCompat#onPopulateAccessibilityEvent(AccessibilityEvent)
for
the case of no accessibility delegate been set.
host | The View hosting the delegate. |
---|---|
event | The accessibility event which to populate. |
Called when a child of the host View has requested sending an
AccessibilityEvent
and gives an opportunity to the parent (the host)
to augment the event.
The default implementation behaves as
ViewGroupCompat#onRequestSendAccessibilityEvent(ViewGroup, View, AccessibilityEvent)
for
the case of no accessibility delegate been set.
host | The View hosting the delegate. |
---|---|
child | The child which requests sending the event. |
event | The event to be sent. |
Performs the specified accessibility action on the view. For
possible accessibility actions look at
AccessibilityNodeInfoCompat
.
The default implementation behaves as
View#performAccessibilityAction(int, Bundle)
for the case of
no accessibility delegate been set.
action | The action to perform. |
---|
Sends an accessibility event of the given type. If accessibility is not enabled this method has no effect.
The default implementation behaves as
View#sendAccessibilityEvent(int)
for the case of no accessibility delegate
been set.
host | The View hosting the delegate. |
---|---|
eventType | The type of the event to send. |
Sends an accessibility event. This method behaves exactly as
sendAccessibilityEvent(View, int)
but takes as an argument an
empty
AccessibilityEvent
and does not perform a check whether
accessibility is enabled.
The default implementation behaves as
View#sendAccessibilityEventUnchecked(AccessibilityEvent)
for
the case of no accessibility delegate been set.
host | The View hosting the delegate. |
---|---|
event | The event to send. |