Toolbar"
From Documentation
m |
m |
||
Line 4: | Line 4: | ||
__TOC__ | __TOC__ | ||
+ | |||
+ | ===Purpose=== | ||
+ | ZK Spreadsheet supports various toolbar buttons for user to perform actions. | ||
+ | |||
+ | ===Show toolbar=== | ||
+ | Use <javadoc directory="zss" method="setShowToolbar">org.zkoss.zss.ui.Spreadsheet</javadoc> to show toolbar. | ||
+ | |||
+ | ===Action Handler=== | ||
+ | The Spreadsheet use a default <javadoc directory="zss" >org.zkoss.zss.ui.sys.ActionHandler</javadoc> to perform toolbar button's action. The default ActionHandler do nothing on some button, developer could use own customized ActionHandler | ||
+ | |||
+ | ===ZUML=== | ||
+ | Here is a sample example ZUL file | ||
+ | <source lang="xml"> | ||
+ | |||
+ | </source> |
Revision as of 03:34, 2 April 2012
Purpose
ZK Spreadsheet supports various toolbar buttons for user to perform actions.
Show toolbar
Use Spreadsheet.setShowToolbar to show toolbar.
Action Handler
The Spreadsheet use a default ActionHandler to perform toolbar button's action. The default ActionHandler do nothing on some button, developer could use own customized ActionHandler
ZUML
Here is a sample example ZUL file