Package io.keikai.ui
Class ToolbarButton
java.lang.Object
io.keikai.ui.ToolbarButton
- All Implemented Interfaces:
Serializable,org.zkoss.json.JSONAware
- Direct Known Subclasses:
DropdownToolbarButton
A toolbar button for Spreadsheet component (Immutable).
If the button's key is duplicated in AuxAction.getAction(),
then the getTemplateURI() will be ignored and using the default template instead.
Due to this limitation, you can remove the default button's key and then add
a new toolbar button with an extra key which provides a different behavior implementation
for it.
- Since:
- 5.0.0
- Author:
- jumperchen
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ToolbarButton
-
-
Method Details
-
getKey
Returns the button key.- Returns:
-
getLabel
Returns the button label.- Returns:
-
getIconURI
Returns the icon uri, if any.- Returns:
-
getIconClass
Returns the icon class, if any.- Returns:
- Since:
- 5.2.0
-
getTooltip
Returns the tooltip text, if any.- Returns:
-
getTemplateURI
Returns the template uri, if any.- Returns:
-
toJSONString
- Specified by:
toJSONStringin interfaceorg.zkoss.json.JSONAware
-