Wt::Ext::NumberField Class Reference
[Ext widgets]

A form field for editing a number. More...

#include <Wt/Ext/NumberField>

Inheritance diagram for Wt::Ext::NumberField:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 NumberField (WContainerWidget *parent=0)
 Create a new number field.
void setValue (double value)
 Set the value.
double value () const
 Get the value.
void setDecimalPrecision (int decimals)
 Set the precision to be displayed.
int decimalPrecision () const
 Return the decimal precision.


Detailed Description

A form field for editing a number.

You may set a WIntValidator or WDoubleValidator to specify in more detail the valid range, and the client-side validation messages.


Generated on Mon Jan 26 14:14:14 2009 for Wt by doxygen 1.5.6