Public Member Functions | |
| FloatDocument (String minval, String maxval) | |
| void | insertString (int offset, String str, AttributeSet attr) throws BadLocationException |
Package Functions | |
| int | getPCDigits (float a_float) |
| int | getACDigits (float a_float) |
| int | getACDigits (String a_string) |
Private Attributes | |
| double | max |
| double | min |
| int | aCDigits_max = 0 |
| mixconfig.FloatDocument.FloatDocument | ( | String | minval, | |
| String | maxval | |||
| ) |
| int mixconfig.FloatDocument.getPCDigits | ( | float | a_float | ) | [package] |
Count the digits in front of the comma in a float
| a_float | float |
| int mixconfig.FloatDocument.getACDigits | ( | float | a_float | ) | [package] |
Count the digits after the comma in a float
| a_float | float |
Referenced by mixconfig.FloatDocument.FloatDocument(), and mixconfig.FloatDocument.insertString().
| int mixconfig.FloatDocument.getACDigits | ( | String | a_string | ) | [package] |
Count the digits after the comma in a string
| a_string | String |
| void mixconfig.FloatDocument.insertString | ( | int | offset, | |
| String | str, | |||
| AttributeSet | attr | |||
| ) | throws BadLocationException |
| offset | int | |
| str | String | |
| attr | AttributeSet |
| BadLocationException |
References mixconfig.FloatDocument.aCDigits_max, mixconfig.FloatDocument.getACDigits(), mixconfig.FloatDocument.max, and mixconfig.FloatDocument.min.
double mixconfig.FloatDocument.max [private] |
Referenced by mixconfig.FloatDocument.FloatDocument(), and mixconfig.FloatDocument.insertString().
double mixconfig.FloatDocument.min [private] |
Referenced by mixconfig.FloatDocument.FloatDocument(), and mixconfig.FloatDocument.insertString().
int mixconfig.FloatDocument.aCDigits_max = 0 [private] |
Referenced by mixconfig.FloatDocument.FloatDocument(), and mixconfig.FloatDocument.insertString().
1.5.6