public
static
class
AccessibilityNodeInfoCompat.CollectionInfoCompat
extends Object
| java.lang.Object | |
| ↳ | android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat |
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 | |
|---|---|
int
|
getColumnCount()
|
int
|
getRowCount()
|
boolean
|
isHierarchical()
|
static
AccessibilityNodeInfoCompat.CollectionInfoCompat
|
obtain(int rowCount, int columnCount, boolean hierarchical, int selectionMode)
Returns a cached instance if such is available otherwise a new one. |
Inherited methods | |
|---|---|
java.lang.Object
| |
int SELECTION_MODE_MULTIPLE
Selection mode where multiple items may be selected.
Constant Value: 2 (0x00000002)
int SELECTION_MODE_NONE
Selection mode where items are not selectable.
Constant Value: 0 (0x00000000)
int SELECTION_MODE_SINGLE
Selection mode where a single item may be selected.
Constant Value: 1 (0x00000001)
int getColumnCount ()
| Returns | |
|---|---|
int |
|
int getRowCount ()
| Returns | |
|---|---|
int |
|
boolean isHierarchical ()
| Returns | |
|---|---|
boolean |
|
AccessibilityNodeInfoCompat.CollectionInfoCompat obtain (int rowCount, int columnCount, boolean hierarchical, int selectionMode)
Returns a cached instance if such is available otherwise a new one.
| Parameters | |
|---|---|
rowCount |
int
|
columnCount |
int
|
hierarchical |
boolean
|
selectionMode |
int
|
| Returns | |
|---|---|
AccessibilityNodeInfoCompat.CollectionInfoCompat |
An instance. |