public final class

AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.core.view.accessibility.AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder

Overview

Builder for creating AccessibilityNodeInfoCompat.CollectionItemInfoCompat objects.

Summary

Constructors
publicBuilder()

Creates a new Builder.

Methods
public AccessibilityNodeInfoCompat.CollectionItemInfoCompatbuild()

Builds and returns a .

public AccessibilityNodeInfoCompat.CollectionItemInfoCompat.BuildersetColumnIndex(int columnIndex)

Sets the column index at which the item is located.

public AccessibilityNodeInfoCompat.CollectionItemInfoCompat.BuildersetColumnSpan(int columnSpan)

Sets the number of columns the item spans.

public AccessibilityNodeInfoCompat.CollectionItemInfoCompat.BuildersetColumnTitle(java.lang.String columnTitle)

Sets the column title at which the item is located.

public AccessibilityNodeInfoCompat.CollectionItemInfoCompat.BuildersetHeading(boolean heading)

Sets the collection item is a heading.

public AccessibilityNodeInfoCompat.CollectionItemInfoCompat.BuildersetRowIndex(int rowIndex)

Sets the row index at which the item is located.

public AccessibilityNodeInfoCompat.CollectionItemInfoCompat.BuildersetRowSpan(int rowSpan)

Sets the number of rows the item spans.

public AccessibilityNodeInfoCompat.CollectionItemInfoCompat.BuildersetRowTitle(java.lang.String rowTitle)

Sets the row title at which the item is located.

public AccessibilityNodeInfoCompat.CollectionItemInfoCompat.BuildersetSelected(boolean selected)

Sets the collection item is selected.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Creates a new Builder.

Methods

Sets the collection item is a heading.

Parameters:

heading: The heading state

Returns:

This builder

Sets the column index at which the item is located.

Parameters:

columnIndex: The column index

Returns:

This builder

Sets the row index at which the item is located.

Parameters:

rowIndex: The row index

Returns:

This builder

Sets the number of columns the item spans.

Parameters:

columnSpan: The number of columns spans

Returns:

This builder

Sets the number of rows the item spans.

Parameters:

rowSpan: The number of rows spans

Returns:

This builder

Sets the collection item is selected.

Parameters:

selected: The number of rows spans

Returns:

This builder

public AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder setRowTitle(java.lang.String rowTitle)

Sets the row title at which the item is located.

Parameters:

rowTitle: The row title

Returns:

This builder

public AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder setColumnTitle(java.lang.String columnTitle)

Sets the column title at which the item is located.

Parameters:

columnTitle: The column title

Returns:

This builder

Builds and returns a .