CarZone.Builder

public final class CarZone.Builder


A builder for instantiating CarZone.

Summary

Public constructors

Public methods

@NonNull CarZone

Constructs the CarZone defined by this builder.

@NonNull CarZone.Builder
setColumn(int column)

Sets the column value for the CarZone.

@NonNull CarZone.Builder
setRow(int row)

Sets the row value for the CarZone.

Public constructors

Builder

Added in 1.3.0
public Builder()

Public methods

build

Added in 1.3.0
public @NonNull CarZone build()

Constructs the CarZone defined by this builder.

CAR_ZONE_ROW_ALL will be used by default if the row value is not set using setRow. CAR_ZONE_COLUMN_ALL will be used by default if the column value is not set setColumn.

setColumn

Added in 1.3.0
public @NonNull CarZone.Builder setColumn(int column)

Sets the column value for the CarZone.

The column value should be in the CarZoneColumn list.

setRow

Added in 1.3.0
public @NonNull CarZone.Builder setRow(int row)

Sets the row value for the CarZone.

The row value should be in the CarZoneRow list.