Doublebox"
From Documentation
m (→Example) |
m |
||
Line 23: | Line 23: | ||
! <center>Name</center> | ! <center>Name</center> | ||
! <center>Event Type</center> | ! <center>Event Type</center> | ||
+ | |||
+ | |- | ||
+ | | <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 Children= | =Supported Children= | ||
− | * | + | *NONE |
=Use cases= | =Use cases= |
Revision as of 04:38, 30 April 2010
Doublebox
Employment/Purpose
An edit box for holding an float point value (double).
Example
<doublebox value="2.3"/>
Supported events
Event:MouseEvent
| |
Event:SelectionEvent
| |
Event:Event
| |
Event:Event
| |
Event:InputEvent
by the user. | |
Event:InputEvent
changing the content.
|
Supported Children
*NONE
Use cases
Version | Description | Example Location |
---|---|---|
5.0+ |
Version History
Version | Date | Content |
---|---|---|
5.0.1 | 4/30/2012 | Initialization |