Want more information ?. Try the
Web
Home Page for this document.
PSPNum Features Index
The eight major features of PSPNum which you need to understand are:
- Size: of the decimal number i.e. the
number of digits either side of the decimal place. For PSPNum, this is
controlled by the encapsulated PSPDec class.
- Value: of the decimal number - how it
is stored and manipulated. For PSPNum, this is controlled to a large extent by
the encapsulated PSPDec class.
- Masking: to control how the numeric value
is displayed in the edit box and how certain keystrokes are processed. For
PSPNum, this is controlled by the encapsulated PSPDecMask class.
- Keystroke: processing specific to
decimal numerics.
- Arithmetic rounding/truncation: for
excess digits after the decimal place. For PSPNum, this is controlled by the
encapsulated PSPDec class.
- Overflow: for excess digits before
the decimal place. For PSPNum, this is controlled by the encapsulated PSPDec
class.
- Persistence: how serialization is
used to save critical property values for the next run of your application.
- Events: triggered by the PSPNum as a
JavaBean.
The above sections contain small samples of Java code. If you want to
see more complete code using PSPNum features, please look at the PSPNumDemo source
i.e. the PSPNumDemo.java and PSPNumCustomizerDemo.java source files which we
provide.