目录

CLASS info
public final class BarCode.Builder
Assigns the BarCode value using the builder method.

Public Method Summary

Return typeMethod name
BarCode.Builder

setText(String Text)

(Optional) Sets the bar code text, an additional description displayed under the barcode (qrCode or codabar).

BarCode.Builder

setType(String type)

(Optional) Sets the barcode type. Options: qrCode and codabar. If no barcode type is specified, qrCode will be used by default.

BarCode.Builder

setValue(String value)

(Optional) Sets the barcode value.

BarCode

build()

Obtains the BarCode object that has been assigned a value using the builder method.

Public Method

Method

public BarCode.Builder settext(String text)

(Optional) Sets the barcode text, an additional description displayed under the barcode (qrCode or codabar).

Parameters

Parameter nameParameter desc
alternateTextBarcode text.


Return

Typedesc
BarCode.BuilderBuilder object.
Method

public BarCode.Builder setType (String type)

(Optional) Sets the barcode type. Options: qrCode and codabar. If no barcode type is specified, qrCode will be used by default.

Parameters

Parameter nameParameter desc
typeBarcode type.


Return

Typedesc
BarCode.BuilderBuilder object.
Method

public BarCode.Builder setValue(String value)

(Optional) Sets the barcode value.

Parameters

Parameter nameParameter desc
typeBarcode value.


Return

Typedesc
BarCode.BuilderBuilder object.
Method

public BarCode build()

Obtains the BarCode object that has been assigned a value using the builder method.

Return

Typedesc
BarCodeBarCode object.