@Stability(value=Experimental) public static final class TextWidgetProps.Builder extends Object
TextWidgetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TextWidgetProps |
build()
Builds the configured instance.
|
TextWidgetProps.Builder |
withHeight(Number value)
Sets the value of Height
|
TextWidgetProps.Builder |
withMarkdown(String value)
Sets the value of Markdown
|
TextWidgetProps.Builder |
withWidth(Number value)
Sets the value of Width
|
@Stability(value=Experimental) public TextWidgetProps.Builder withMarkdown(String value)
value - The text to display, in MarkDown format.this@Stability(value=Experimental) public TextWidgetProps.Builder withHeight(@Nullable Number value)
value - Height of the widget.this@Stability(value=Experimental) public TextWidgetProps.Builder withWidth(@Nullable Number value)
value - Width of the widget, in a grid of 24 units wide.this@Stability(value=Experimental) public TextWidgetProps build()
TextWidgetPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.