java.lang.Object | |
↳ | android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo |
Class with information if a node is a collection item. Use
obtain(int, int, int, int, boolean)
to get an instance.
A collection item is contained in a collection, it starts at a given row and column in the collection, and spans one or more rows and columns. For example, a header of two related table columns starts at the first row and the first column, spans one row and two columns.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Gets the column index at which the item is located.
|
||||||||||
|
Gets the number of columns the item spans.
|
||||||||||
|
Gets the row index at which the item is located.
|
||||||||||
|
Gets the number of rows the item spans.
|
||||||||||
|
Gets if the collection item is a heading.
|
||||||||||
|
Obtains a pooled instance.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets the column index at which the item is located.
Gets the number of columns the item spans.
Gets the row index at which the item is located.
Gets the number of rows the item spans.
Gets if the collection item is a heading. For example, section heading, table header, etc.
Obtains a pooled instance.
rowIndex | The row index at which the item is located. |
---|---|
rowSpan | The number of rows the item spans. |
columnIndex | The column index at which the item is located. |
columnSpan | The number of columns the item spans. |
heading | Whether the item is a heading. |