T
- the data type handled by this transformer classpublic abstract class AbstractDecimalTransformer<T extends Number> extends NumberTransformerBase<T>
A base class for number transformers that operate on floating point numbers.
This base class already implements the creation of the
NumberFormat
object used for parsing the entered numbers.
Concrete sub classes specialize on specific float types like
java.lang.Float
or java.lang.Double
.
PROP_MAXIMUM, PROP_MINIMUM
Constructor and Description |
---|
AbstractDecimalTransformer() |
Modifier and Type | Method and Description |
---|---|
protected NumberFormat |
createFormat(Locale locale)
Returns a format object suitable for parsing doubles.
|
convert, errorResult, fetchProperty, getMaximum, getMinimum, isNumberValid, isValid, setMaximum, setMinimum, transform, transformToNumber
protected NumberFormat createFormat(Locale locale)
createFormat
in class NumberTransformerBase<T extends Number>
locale
- the localeCopyright © 2016 The JGUIraffe Team. All rights reserved.