Badge.Builder

public final class Badge.Builder


Builder class for Badge.

Summary

Public constructors

Public methods

Badge
Badge.Builder

Sets the image.

Badge.Builder

Sets the text.

Public constructors

Builder

public Builder()

Public methods

build

public Badge build()

setImage

@CanIgnoreReturnValue
public Badge.Builder setImage(Image image)

Sets the image.

Optional.

setText

@CanIgnoreReturnValue
public Badge.Builder setText(String text)

Sets the text.

Optional.