protected final class NumberFormat.NumberBuf.ScreenCharInfo extends java.lang.Object implements Printable
| 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
For real digits characters in screen buffer:
the digit position relative to the decimal delimiter.
|
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
The character type, according to the format specification.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ScreenCharInfo() |
| Modifier and Type | Method and Description |
|---|---|
void |
print(PrintHelper printer)
Print all class-specific fields.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
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 java.lang.String toString()
toString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class java.lang.Objectpublic void print(PrintHelper printer)