public interface ToolbarButton
ToolbarActionButton
,
ToolbarMenuButton
Modifier and Type | Method and Description |
---|---|
void |
setDescription(String aDescription)
Sets the description of the button.
|
void |
setDescription(UserMessage aDescription)
Sets the description of the button.
|
void |
setHighlighted(boolean isHighlighted)
Defines if this button should be highlighted.
|
void |
setIcon(String iconReference)
Sets the icon of the button.
|
void |
setIcon(UIButtonIcon buttonIcon)
Sets the icon of the button.
|
void |
setLayout(UIButtonLayout aLayout)
Sets the layout of the button.
|
void |
setRelief(UIButtonRelief aRelief)
Deprecated.
Since 5.9.0, relief configuration is ignored, all buttons are rendered flat.
|
void setIcon(String iconReference)
void setIcon(UIButtonIcon buttonIcon)
void setRelief(UIButtonRelief aRelief)
void setLayout(UIButtonLayout aLayout)
void setHighlighted(boolean isHighlighted)
Default value is false
.
void setDescription(UserMessage aDescription)
void setDescription(String aDescription)
If the button layout is set to UIButtonLayout.ICON_ONLY
,
the label will be used for the tooltip, and thus this description will not be used.