The toolkit provides the following formatters for use with text
fields, labels, and tables:
- Numeric formatter: Verifies if data is numeric.
A text field with this
formatter must have associated context data of type String.
- Integer formatter: Verifies that data is numeric, and formats it as appropriate
(taking into account the thousands separator).
A text field with this formatter
must have associated context data of type Integer.
- Float formatter: Verifies that data is a float, and formats it as appropriate
(taking into account the thousands separator and the decimal separator). i
A
text field with this formatter must have associated context data of type Float.
- Date formatter: Verifies that data is a date, and formats it as appropriate
(taking into account the separator and the pattern).
A text field with
this formatter must have associated context data of type Date.