FileDocCategorySizeDatePackage
AccessibilityNodeInfoCompatApi21.javaAPI DocAndroid 5.1 API2459Thu Mar 12 22:22:56 GMT 2015android.support.v4.view.accessibility

AccessibilityNodeInfoCompatApi21

public class AccessibilityNodeInfoCompatApi21 extends Object
Api21-specific AccessibilityNodeInfo API implementation.

Fields Summary
Constructors Summary
Methods Summary
static voidaddAction(java.lang.Object info, java.lang.Object action)

        ((AccessibilityNodeInfo) info).addAction((AccessibilityAction) action);
    
static intgetAccessibilityActionId(java.lang.Object action)

        return ((AccessibilityNodeInfo.AccessibilityAction) action).getId();
    
static java.lang.CharSequencegetAccessibilityActionLabel(java.lang.Object action)

        return ((AccessibilityNodeInfo.AccessibilityAction) action).getLabel();
    
static java.util.ListgetActionList(java.lang.Object info)

        Object result = ((AccessibilityNodeInfo) info).getActionList();
        return (List<Object>) result;
    
static java.lang.ObjectnewAccessibilityAction(int actionId, java.lang.CharSequence label)

        return new AccessibilityAction(actionId, label);
    
public static java.lang.ObjectobtainCollectionInfo(int rowCount, int columnCount, boolean hierarchical, int selectionMode)

        return AccessibilityNodeInfo.CollectionInfo.obtain(rowCount, columnCount, hierarchical,
                selectionMode);
    
public static java.lang.ObjectobtainCollectionItemInfo(int rowIndex, int rowSpan, int columnIndex, int columnSpan, boolean heading, boolean selected)

        return AccessibilityNodeInfo.CollectionItemInfo.obtain(rowIndex, rowSpan, columnIndex,
                columnSpan, heading, selected);