Most visited

Recently visited

AccessibilityNodeInfoCompat.CollectionInfoCompat

public static class AccessibilityNodeInfoCompat.CollectionInfoCompat
extends Object

java.lang.Object
   ↳ android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.CollectionInfoCompat


Summary

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

From class java.lang.Object

Constants

SELECTION_MODE_MULTIPLE

int SELECTION_MODE_MULTIPLE

Selection mode where multiple items may be selected.

Constant Value: 2 (0x00000002)

SELECTION_MODE_NONE

int SELECTION_MODE_NONE

Selection mode where items are not selectable.

Constant Value: 0 (0x00000000)

SELECTION_MODE_SINGLE

int SELECTION_MODE_SINGLE

Selection mode where a single item may be selected.

Constant Value: 1 (0x00000001)

Public methods

getColumnCount

int getColumnCount ()

Returns
int

getRowCount

int getRowCount ()

Returns
int

isHierarchical

boolean isHierarchical ()

Returns
boolean

obtain

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.

Hooray!