Wt: Wt::Ext::NumberField Class Reference

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Member Functions
Wt::Ext::NumberField Class Reference
Ext widgets (Wt::Ext, deprecated)

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

`#include <Wt/Ext/NumberField>`

Inheritance diagram for Wt::Ext::NumberField:
[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
| Return the value.
void | setDecimalPrecision (int decimals)
| Set the maximal decimal precision.
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.

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator