Doublebox

An edit box for holding an float point value (double).

<doublebox value="2.3"/>

Class Name

org.zkoss.zul.Doublebox

Supported Child Components

*NONE

Supported Events

Name

Inherited From

OnClick

org.zkoss.zk.ui.event.MouseEvent

Description: Denotes user has clicked the component.

OnSelection

org.zkoss.zk.ui.event.SelectionEvent

Description: 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

org.zkoss.zk.ui.event.Event

Description: Denotes when a component gets the focus.

OnBlur

org.zkoss.zk.ui.even.Event

Description: Denotes when a component loses the focus.

OnChange

org.zkoss.zk.ui.even.InputEvent

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

by the user.

OnChanging

org.zkoss.zk.ui.even.InputEvent

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

changing the content.

Attributes

Property

Description

Data Type

Default Values

value

the value (in Double), might be null unless a constraint stops it.

java.math.BigDecimal

0

Methods

Name

Description

Data Type

intValue()

Returns the value in integer.

int

longValue()

Returns the value in long.

long

doubleValue()

Returns the value in double.

double

shortValue()

Returns the value in short.

short

Inherited From