java.lang.Object | |
↳ | android.view.accessibility.AccessibilityNodeInfo.CollectionInfo |
Class with information if a node is a collection. Use
obtain(int, int, boolean)
to get an instance.
A collection of items has rows and columns and may be hierarchical. For example, a horizontal list is a collection with one column, as many rows as the list items, and is not hierarchical; A table is a collection with several rows, several columns, and is not hierarchical; A vertical tree is a hierarchical collection with one column and as many rows as the first level children.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | SELECTION_MODE_MULTIPLE | Selection mode where multiple items may be selected. | |||||||||
int | SELECTION_MODE_NONE | Selection mode where items are not selectable. | |||||||||
int | SELECTION_MODE_SINGLE | Selection mode where a single item may be selected. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the number of columns.
| |||||||||||
Gets the number of rows.
| |||||||||||
Gets the collection's selection mode.
| |||||||||||
Gets if the collection is a hierarchically ordered.
| |||||||||||
Obtains a pooled instance.
| |||||||||||
Obtains a pooled instance.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Selection mode where multiple items may be selected.
Selection mode where items are not selectable.
Selection mode where a single item may be selected.
Gets the number of columns.
Gets the collection's selection mode.
Gets if the collection is a hierarchically ordered.
Obtains a pooled instance.
rowCount | The number of rows. |
---|---|
columnCount | The number of columns. |
hierarchical | Whether the collection is hierarchical. |
selectionMode | The collection's selection mode, one of: |
Obtains a pooled instance.
rowCount | The number of rows. |
---|---|
columnCount | The number of columns. |
hierarchical | Whether the collection is hierarchical. |