private class NumberFormat.NumberBuf.ScreenCharInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEC_SEP
Character is decimal separator character.
|
static int |
DIGIT
Character is a digit.
|
private int |
digitPos
First digit position.
|
static int |
GROUP_SEP
Character is a group separator.
|
static int |
STR_LEFT
Character is part of left substring.
|
static int |
STR_RIGHT
Character is part of right substring.
|
private int |
type
Character type.
|
Modifier | Constructor and Description |
---|---|
private |
ScreenCharInfo() |
Modifier and Type | Method and Description |
---|---|
int |
getDigitPos()
Return position of the digit character.
|
int |
getType()
Get type information.
|
void |
setDigitPos(int pos)
Set new position of digit.
|
void |
setType(int newType)
Set character type.
|
public static final int STR_LEFT
public static final int GROUP_SEP
public static final int DEC_SEP
public static final int DIGIT
public static final int STR_RIGHT
private int type
private int digitPos
public int getType()
public void setType(int newType)
newType
- New type of the character.public int getDigitPos()
public void setDigitPos(int pos)
pos
- New digit position.