Spinner

An edit box for holding a constrained integer.

<window title="Spinner" border="normal" width="150px">
    <spinner />    
</window>

Class Name

org.zkoss.zul.Spinner

Supported Child Components

*NONE

Supported Events

*NONE

Properties

Property

Description

Return Data Type

step

Set the step of spinner

integer

val ue

Sets the text value.

integer

ButtonVisible

Sets whether the button (on the right of the textbox) is visible.

boolean

Methods

Name

Description

Return Data Type

coerceFromString(java.lang.String value)

Coerces the value passed to InputElement.setText(java.lang.String).

java.lang.Object

coerceToString(java .lang.Object value)

Coerces the value passed to InputElement.setText(java.lang.Stri ng).

java.lang.Object

getMoldSclass()

String

setConstraint(java.lang.String constr)

void

Inherited From