belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
AccessibilityNodeInfoCompat.CollectionItemInfoCompat
  public
  static
  
  
  class
  AccessibilityNodeInfoCompat.CollectionItemInfoCompat
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat | 
Class with information if a node is a collection item.
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.
Summary
Public methods | |
|---|---|
        
        
        
        
        
        int
     | 
  
    
      
      getColumnIndex()
      
      
        Gets the column index at which the item is located.  | 
  
        
        
        
        
        
        int
     | 
  
    
      
      getColumnSpan()
      
      
        Gets the number of columns the item spans.  | 
  
        
        
        
        
        
        int
     | 
  
    
      
      getRowIndex()
      
      
        Gets the row index at which the item is located.  | 
  
        
        
        
        
        
        int
     | 
  
    
      
      getRowSpan()
      
      
        Gets the number of rows the item spans.  | 
  
        
        
        
        
        
        boolean
     | 
  
    
      
      isHeading()
      
      
        Gets if the collection item is a heading.  | 
  
        
        
        
        
        
        boolean
     | 
  
    
      
      isSelected()
      
      
        Gets if the collection item is selected.  | 
  
        
        
        static
        
        
        AccessibilityNodeInfoCompat.CollectionItemInfoCompat
     | 
  
    
      
      obtain(int rowIndex, int rowSpan, int columnIndex, int columnSpan, boolean heading)
      
      
        Returns a cached instance if such is available otherwise a new one.  | 
  
        
        
        static
        
        
        AccessibilityNodeInfoCompat.CollectionItemInfoCompat
     | 
  
    
      
      obtain(int rowIndex, int rowSpan, int columnIndex, int columnSpan, boolean heading, boolean selected)
      
      
        Returns a cached instance if such is available otherwise a new one.  | 
  
Inherited methods | |
|---|---|
  
    
  
    java.lang.Object
  
 | |
Public methods
getColumnIndex
int getColumnIndex ()
Gets the column index at which the item is located.
| Returns | |
|---|---|
int | 
        The column index. | 
getColumnSpan
int getColumnSpan ()
Gets the number of columns the item spans.
| Returns | |
|---|---|
int | 
        The column span. | 
getRowIndex
int getRowIndex ()
Gets the row index at which the item is located.
| Returns | |
|---|---|
int | 
        The row index. | 
getRowSpan
int getRowSpan ()
Gets the number of rows the item spans.
| Returns | |
|---|---|
int | 
        The row span. | 
isHeading
boolean isHeading ()
Gets if the collection item is a heading. For example, section heading, table header, etc.
| Returns | |
|---|---|
boolean | 
        If the item is a heading. | 
isSelected
boolean isSelected ()
Gets if the collection item is selected.
| Returns | |
|---|---|
boolean | 
        If the item is selected. | 
obtain
AccessibilityNodeInfoCompat.CollectionItemInfoCompat obtain (int rowIndex, int rowSpan, int columnIndex, int columnSpan, boolean heading)
Returns a cached instance if such is available otherwise a new one.
| Parameters | |
|---|---|
rowIndex | 
        
          int: The row index at which the item is located. | 
      
rowSpan | 
        
          int: The number of rows the item spans. | 
      
columnIndex | 
        
          int: The column index at which the item is located. | 
      
columnSpan | 
        
          int: The number of columns the item spans. | 
      
heading | 
        
          boolean: Whether the item is a heading. | 
      
| Returns | |
|---|---|
AccessibilityNodeInfoCompat.CollectionItemInfoCompat | 
        An instance. | 
obtain
AccessibilityNodeInfoCompat.CollectionItemInfoCompat obtain (int rowIndex, int rowSpan, int columnIndex, int columnSpan, boolean heading, boolean selected)
Returns a cached instance if such is available otherwise a new one.
| Parameters | |
|---|---|
rowIndex | 
        
          int: The row index at which the item is located. | 
      
rowSpan | 
        
          int: The number of rows the item spans. | 
      
columnIndex | 
        
          int: The column index at which the item is located. | 
      
columnSpan | 
        
          int: The number of columns the item spans. | 
      
heading | 
        
          boolean: Whether the item is a heading. | 
      
selected | 
        
          boolean: Whether the item is selected. | 
      
| Returns | |
|---|---|
AccessibilityNodeInfoCompat.CollectionItemInfoCompat | 
        An instance. | 
Interfaces
Classes
- AccessibilityEventCompat
 - AccessibilityManagerCompat
 - AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat
 - AccessibilityNodeInfoCompat
 - AccessibilityNodeInfoCompat.AccessibilityActionCompat
 - AccessibilityNodeInfoCompat.CollectionInfoCompat
 - AccessibilityNodeInfoCompat.CollectionItemInfoCompat
 - AccessibilityNodeInfoCompat.RangeInfoCompat
 - AccessibilityNodeProviderCompat
 - AccessibilityRecordCompat
 - AccessibilityWindowInfoCompat