|
|
Line 17: |
Line 17: |
| <doublebox value="2.3"/> | | <doublebox value="2.3"/> |
| </source> | | </source> |
− |
| |
− | |-
| |
− | | <center><tt>onClick</tt></center>
| |
− | | '''Event:'''<javadoc> org.zkoss.zk.ui.event.MouseEvent</javadoc>
| |
− |
| |
− |
| |
− | <tt>Denotes user has clicked the component.</tt>
| |
− |
| |
− | |-
| |
− | | <center><tt>onSelection</tt></center>
| |
− | | '''Event:'''<javadoc> org.zkoss.zk.ui.event.SelectionEvent</javadoc>
| |
− |
| |
− |
| |
− | <tt>Denotes that user is selecting a portion of the text of an input component. You can retrieve the start and end position of the selected text by use of the getStart and getEnd methods.</tt>
| |
− |
| |
− | |-
| |
− | | <center><tt>onFocus</tt></center>
| |
− | | '''Event:'''<javadoc>org.zkoss.zk.ui.event.Event</javadoc>
| |
− |
| |
− |
| |
− | <tt>Denotes when a component gets the focus.</tt>
| |
− |
| |
− | |-
| |
− | | <center><tt>onBlur</tt></center>
| |
− | | '''Event:'''<javadoc>org.zkoss.zk.ui.even.Event</javadoc>
| |
− |
| |
− |
| |
− | <tt> Denotes when a component loses the focus.</tt>
| |
− |
| |
− | |-
| |
− | | <center><tt>onChange</tt></center>
| |
− | | '''Event:'''<javadoc>org.zkoss.zk.ui.even.InputEvent</javadoc>
| |
− |
| |
− |
| |
− | <tt>An input control notifies the application with the onChange event if its content is changed</tt>
| |
− |
| |
− | <tt>by the user.</tt>
| |
− |
| |
− | |-
| |
− | | <center><tt>onChanging</tt></center>
| |
− | | '''Event:'''<javadoc>org.zkoss.zk.ui.even.InputEvent</javadoc>
| |
− |
| |
− |
| |
− | <tt>An input control also notifies the application with the onChanging event, when user is</tt>
| |
− |
| |
− | <tt>changing the content.</tt>
| |
| | | |
| =Supported events= | | =Supported events= |