|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.text.AttributedCharacterIterator.Attribute
java.text.Format.Field
java.text.NumberFormat.Field
public static class NumberFormat.Field
The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that NumberFormat.formatToCharacterIterator() method returns.
There is no public constructor to this class, the only instances are the constants defined here.
| Field Summary | |
|---|---|
static NumberFormat.Field |
CURRENCY
This constant stands for the currency symbol. |
static NumberFormat.Field |
DECIMAL_SEPARATOR
This constant stands for the decimal separator. |
static NumberFormat.Field |
EXPONENT
This constant stands for the exponent part of the number. |
static NumberFormat.Field |
EXPONENT_SIGN
This constant stands for the exponent sign symbol. |
static NumberFormat.Field |
EXPONENT_SYMBOL
This constant stands for the exponent symbol. |
static NumberFormat.Field |
FRACTION
This constant stands for the fraction part of the number. |
static NumberFormat.Field |
GROUPING_SEPARATOR
This constant stands for the grouping separator. |
static NumberFormat.Field |
INTEGER
This constant stands for the integer part of the number. |
static NumberFormat.Field |
PERCENT
This constant stands for the percent symbol. |
static NumberFormat.Field |
PERMILLE
This constant stands for the permille symbol. |
static NumberFormat.Field |
SIGN
This constant stands for the number sign. |
| Fields inherited from class java.text.AttributedCharacterIterator.Attribute |
|---|
INPUT_METHOD_SEGMENT, LANGUAGE, READING |
| Constructor Summary | |
|---|---|
protected |
NumberFormat.Field(String fieldName)
Constructs a new instance of NumberFormat.Field with the given field name. |
| Method Summary | |
|---|---|
protected Object |
readResolve()
serialization method resolve instances to the constant NumberFormat.Field values |
| Methods inherited from class java.text.AttributedCharacterIterator.Attribute |
|---|
equals, getName, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final NumberFormat.Field SIGN
public static final NumberFormat.Field INTEGER
public static final NumberFormat.Field FRACTION
public static final NumberFormat.Field EXPONENT
public static final NumberFormat.Field EXPONENT_SIGN
public static final NumberFormat.Field EXPONENT_SYMBOL
public static final NumberFormat.Field DECIMAL_SEPARATOR
public static final NumberFormat.Field GROUPING_SEPARATOR
public static final NumberFormat.Field PERCENT
public static final NumberFormat.Field PERMILLE
public static final NumberFormat.Field CURRENCY
| Constructor Detail |
|---|
protected NumberFormat.Field(String fieldName)
fieldName - The field name.| Method Detail |
|---|
protected Object readResolve()
throws InvalidObjectException
readResolve in class AttributedCharacterIterator.AttributeInvalidObjectException
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||