Decimalbox"

From Documentation
Line 3: Line 3:
 
= Decimalbox =
 
= Decimalbox =
  
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#f2 Decimalbox ]
+
*Demonstration: [http://www.zkoss.org/zkdemo/input/form_sample Decimalbox ]
 
*Java API: <javadoc>org.zkoss.zul.Decimalbox</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Decimalbox</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.inp.Decimalbox</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.inp.Decimalbox</javadoc>
 +
*Style Guide: [[ZK_Style_Guide/XUL_Component_Specification/Decimalbox | Decimalbox]]
  
 
= Employment/Purpose =
 
= Employment/Purpose =
Line 19: Line 20:
 
</source>
 
</source>
  
=Supported events=
+
=Supported Events=
  
 
{| border="1" | width="100%"
 
{| border="1" | width="100%"
Line 25: Line 26:
 
! <center>Event Type</center>
 
! <center>Event Type</center>
 
|-
 
|-
| <center>onBlur</center>
+
| None
| '''Event:'''<javadoc>org.zkoss.zk.ui.even.Event</javadoc>
+
| None
 
 
Denotes when a component loses the focus.
 
 
 
|-
 
| <center> onChange</center>
 
| '''Event:'''<javadoc>org.zkoss.zk.ui.even.InputEvent</javadoc>
 
 
 
An input control notifies the application with the onChange event if its content is changed by the user.
 
 
 
|-
 
| <center>onChanging</center>
 
| '''Event:'''<javadoc>org.zkoss.zk.ui.even.InputEvent</javadoc>
 
 
 
An input control also notifies the application with the onChanging event, when user is changing the content.
 
 
 
|-
 
| <center>onFocus</center>
 
| '''Event:'''<javadoc>org.zkoss.zk.ui.event.Event</javadoc>
 
 
 
Denotes when a component gets the focus.
 
 
 
|-
 
| <center>onSelection</center>
 
| '''Event:'''<javadoc>org.zkoss.zk.ui.event.SelectionEvent</javadoc>
 
 
 
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>
 
 
 
 
|}
 
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Base_Components/NumberInputElement#Supported_Events | NumberInputElement]]
  
 
=Supported Children=
 
=Supported Children=
Line 60: Line 35:
 
  *NONE
 
  *NONE
  
=Use cases=
+
=Use Cases=
  
 
{| border='1px' | width="100%"
 
{| border='1px' | width="100%"
Line 71: 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:03, 19 November 2010

Decimalbox

Employment/Purpose

An edit box for holding big decimal value .

Example

ZKComRef Decimalbox Examples.PNG

 <doublebox value="155"/>

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.