This class can have different "read" and "write" formats. When showing the number the "read" format will be used. If the user enters the inputfield (gains focus), the "write" format will be used.
A maximum of decimals/non-decimals can be specified so no more numbers can be input than strictly defined.
A boolean can be specified to allow only positive numbers or positive and negative numbers. Switching between positive and negative can be done by using the +/- buttons anywhere in the inputfield.
TODO There's a third option: only negative numbers, this should be configurable as well. @author Jan Hoskens
|
|