private abstract static class StringFormat.ValueCharInfo extends StringFormat.CharInfo implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private int |
valueIndex
Index in the screen value of this value char.
|
Constructor and Description |
---|
ValueCharInfo(int index)
Initializes the index of this value char.
|
Modifier and Type | Method and Description |
---|---|
StringFormat.ValueCharInfo |
dup(int index)
Makes a clone with different value index
|
char |
getFillChar()
Return fill character.
|
int |
getValueIndex()
Returns index in the screen value corresponding to the given char.
|
getErrorNum, makeValueChar, validateChar
public ValueCharInfo(int index)
index
- Index in the screen value.public int getValueIndex()
getValueIndex
in class StringFormat.CharInfo
public char getFillChar()
getFillChar
in class StringFormat.CharInfo
public StringFormat.ValueCharInfo dup(int index)
index
- The new value index.