public static class ToolbarButton.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
ToolbarButton |
build()
Builds the toolbar button instance.
|
static ToolbarButton.Builder |
create(String key)
Creates the builder with the given key.
|
ToolbarButton.Builder |
withIconURI(String iconURI)
Sets the icon URI to the button.
|
ToolbarButton.Builder |
withLabel(String label)
Sets the label to the button.
|
ToolbarButton.Builder |
withTemplateURI(String templateURI)
Sets the template URI to the button.
|
ToolbarButton.Builder |
withTooltip(String tooltip)
Sets the tooltip to the button.
|
public static ToolbarButton.Builder create(String key)
key - the button key.public ToolbarButton.Builder withIconURI(String iconURI)
iconURI - public ToolbarButton.Builder withTooltip(String tooltip)
tooltip - public ToolbarButton.Builder withLabel(String label)
label - public ToolbarButton.Builder withTemplateURI(String templateURI)
templateURI - public ToolbarButton build()
Copyright © 2020. All rights reserved.