LabelValueRow.Builder | Doclava
public final class

LabelValueRow.Builder

extends Object
java.lang.Object
   ↳ com.google.android.gms.wallet.wobs.LabelValueRow.Builder

Class Overview

Builder to create an LabelValueRow.

Summary

Public Methods
LabelValueRow.Builder addColumn(LabelValue column)
LabelValueRow.Builder addColumns(Collection<LabelValue> columns)
Adds the specified columns to this builder instance.
LabelValueRow build()
LabelValueRow.Builder setHexBackgroundColor(String color)
Sets background color for the row.
LabelValueRow.Builder setHexFontColor(String color)
Sets the color for the font in the row.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public LabelValueRow.Builder addColumn (LabelValue column)

Parameters
column LabelValue
Returns
LabelValueRow.Builder

public LabelValueRow.Builder addColumns (Collection<LabelValue> columns)

Adds the specified columns to this builder instance.

Parameters
columns Collection: The columns to add.
Returns
LabelValueRow.Builder A reference to the invoking instance.

public LabelValueRow build ()

Returns
LabelValueRow

public LabelValueRow.Builder setHexBackgroundColor (String color)

Sets background color for the row.

Color should have the format #hhhhhh where h is a hex digit.

Parameters
color String
Returns
LabelValueRow.Builder

public LabelValueRow.Builder setHexFontColor (String color)

Sets the color for the font in the row.

Color should have the format #hhhhhh where h is a hex digit.

Parameters
color String
Returns
LabelValueRow.Builder