Doublebox"

From Documentation
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>
 +
 
|-
 
|-
| None
+
| <center><tt>onFocus</tt></center>
| None
+
| '''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=
  
  *ALL
+
  *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

ZKComRef Doublebox Examples.PNG

 <doublebox value="2.3"/>

Supported events

Name
Event Type
onClick
Event:MouseEvent


Denotes user has clicked the component.

onSelection
Event:SelectionEvent


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.

onFocus
Event:Event


Denotes when a component gets the focus.

onBlur
Event:Event


Denotes when a component loses the focus.

onChange
Event:InputEvent


An input control notifies the application with the onChange event if its content is changed

by the user.

onChanging
Event:InputEvent


An input control also notifies the application with the onChanging event, when user is

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



Last Update : 2010/04/30

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.