private static class StringFormat.DigitCharInfo extends StringFormat.ValueCharInfo
| Constructor and Description |
|---|
DigitCharInfo(int index)
Initializes the index of this value char.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorNum()
Get the number of the error shown if this char is invalid.
|
java.lang.String |
validateChar(char ch)
Validates character against format rules.
|
dup, getFillChar, getValueIndexmakeValueCharpublic DigitCharInfo(int index)
index - Index in the screen value.public java.lang.String validateChar(char ch)
validateChar in class StringFormat.CharInfoch - Character to check.null for no error.public int getErrorNum()
getErrorNum in class StringFormat.CharInfo630.