Package io.keikai.ui
Class DropdownToolbarButton
java.lang.Object
io.keikai.ui.ToolbarButton
io.keikai.ui.DropdownToolbarButton
- All Implemented Interfaces:
Serializable,org.zkoss.json.JSONAware
A dropdown toolbar button for the Spreadsheet component that contains a list of
ToolbarButton.
Most built-in buttons in AuxAction can be used in this dropdown button.
However, some buttons, such as AuxAction.FONT_FAMILY, cannot be used due to limitations.
Specifically, the ZK Menupopup client-side widget cannot contain a Combobox widget.
To work around this, you can use DropdownToolbarButton.Builder.withTemplateURI(String) for full
customization with a JavaScript solution to control the client-side behavior.
Note: the tooltip of the nested ToolbarButton is not supported for
inside the dropdown list.
- Since:
- 6.1.0
- Author:
- jumperchen
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class io.keikai.ui.ToolbarButton
getIconClass, getIconURI, getKey, getLabel, getTemplateURI, getTooltip
-
Method Details
-
getItems
Returns the items of the dropdown button.- Returns:
-
toJSONString
- Specified by:
toJSONStringin interfaceorg.zkoss.json.JSONAware- Overrides:
toJSONStringin classToolbarButton
-