CarZone.Builder
class CarZone.Builder
A builder for instantiating CarZone.
Summary
Public constructors |
|---|
Builder() |
Public functions |
|
|---|---|
CarZone |
build()Constructs the |
CarZone.Builder |
Sets the column value for the |
CarZone.Builder |
Sets the row value for the |
Public constructors
Public functions
build
fun build(): CarZone
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
fun setColumn(column: Int): CarZone.Builder
Sets the column value for the CarZone.
The column value should be in the CarZoneColumn list.
setRow
fun setRow(row: Int): CarZone.Builder
Sets the row value for the CarZone.
The row value should be in the CarZoneRow list.