Button"
From Documentation
Line 29: | Line 29: | ||
|- | |- | ||
| <center><tt>onClick</tt></center> | | <center><tt>onClick</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.event.MouseEvent</javadoc> |
Line 36: | Line 36: | ||
|- | |- | ||
| <center><tt>onRightClick</tt></center> | | <center><tt>onRightClick</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.event.MouseEvent</javadoc> |
Line 43: | Line 43: | ||
|- | |- | ||
| <center><tt>onDoubleClick</tt></center> | | <center><tt>onDoubleClick</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.event.MouseEvent</javadoc> |
Line 50: | Line 50: | ||
|- | |- | ||
| <center><tt>onFocus</tt></center> | | <center><tt>onFocus</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.event.Event</javadoc> |
Line 57: | Line 57: | ||
|- | |- | ||
| <center><tt>onBlur</tt></center> | | <center><tt>onBlur</tt></center> | ||
− | | | + | | <javadoc>org.zkoss.zk.ui.even.Event</javadoc> |
Revision as of 11:16, 27 April 2010
Button
Employment/Purpose
You could assign a label and an image to a button by the label and image properties. If both are specified, the dir property control which is displayed up front, and the orient property controls whether the layout is horizontal or vertical.
Example
<button label="Left" image="/img/folder.gif" width="125px"/>
<button label="Right" image="/img/folder.gif" dir="reverse" width="125px"/>
<button label="Above" image="/img/folder.gif" orient="vertical" width="125px"/>
<button label="Below" image="/img/folder.gif" orient="vertical" dir="reverse" width="125px"/>
Supported events
MouseEvent
| |
MouseEvent
| |
MouseEvent
| |
Event
| |
Event
|
Supported Children
*NONE
Use cases
Version | Description | Example Location |
---|---|---|
5.0+ |
Version History
Version | Date | Content |
---|---|---|
5.0.1 | 4/27/2010 | Initialization |