Doublebox"

From Documentation
Line 3: Line 3:
 
= Doublebox =
 
= Doublebox =
  
*Demonstration: N/A
+
*Demonstration: [http://www.zkoss.org/zkdemo/input/form_sample Doublebox ]
 
*Java API: <javadoc>org.zkoss.zul.Doublebox</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Doublebox</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.inp.Doublebox</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.inp.Doublebox</javadoc>
 +
*Style Guide: [[ZK_Style_Guide/XUL_Component_Specification/Doublebox | Doublebox]]
  
 
= Employment/Purpose =
 
= Employment/Purpose =
Line 19: Line 20:
 
</source>
 
</source>
  
=Supported events=
+
=Supported Events=
  
 
{| border="1" | width="100%"
 
{| border="1" | width="100%"
 
! <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>
+
| None
| '''Event:'''<javadoc>org.zkoss.zk.ui.even.InputEvent</javadoc>
+
| None
 
 
 
 
<tt>An input control also notifies the application with the onChanging event, when user is</tt>
 
 
 
<tt>changing the content.</tt>
 
 
 
 
 
 
|}
 
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Base_Components/NumberInputElement#Supported_Events | NumberInputElement]]
  
 
=Supported Children=
 
=Supported Children=
Line 78: Line 35:
 
  *NONE
 
  *NONE
  
=Use cases=
+
=Use Cases=
  
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"
Line 89: Line 46:
  
 
=Version History=
 
=Version History=
 
+
{{LastUpdated}}
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"
 
! Version !! Date !! Content
 
! Version !! Date !! Content

Revision as of 09:06, 19 November 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
None None

Supported Children

*NONE

Use Cases

Version Description Example Location
     

Version History

Last Update : 2010/11/19


Version Date Content
     



Last Update : 2010/11/19

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