java.lang.Object | |||
↳ | java.text.AttributedCharacterIterator.Attribute | ||
↳ | java.text.Format.Field | ||
↳ | java.text.NumberFormat.Field |
The instances of this inner class are used as attribute keys and values
in AttributedCharacterIterator
that the
formatToCharacterIterator(Object)
method returns.
There is no public constructor in this class, the only instances are the constants defined here.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NumberFormat.Field | CURRENCY | This constant stands for the currency symbol. | |||||||||
NumberFormat.Field | DECIMAL_SEPARATOR | This constant stands for the decimal separator. | |||||||||
NumberFormat.Field | EXPONENT | This constant stands for the exponent part of the number. | |||||||||
NumberFormat.Field | EXPONENT_SIGN | This constant stands for the exponent sign symbol. | |||||||||
NumberFormat.Field | EXPONENT_SYMBOL | This constant stands for the exponent symbol. | |||||||||
NumberFormat.Field | FRACTION | This constant stands for the fraction part of the number. | |||||||||
NumberFormat.Field | GROUPING_SEPARATOR | This constant stands for the grouping separator. | |||||||||
NumberFormat.Field | INTEGER | This constant stands for the integer part of the number. | |||||||||
NumberFormat.Field | PERCENT | This constant stands for the percent symbol. | |||||||||
NumberFormat.Field | PERMILLE | This constant stands for the permille symbol. | |||||||||
NumberFormat.Field | SIGN | This constant stands for the number sign. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.text.AttributedCharacterIterator.Attribute
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of
NumberFormat.Field with the
given field name. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Resolves instances that are deserialized to the constant
NumberFormat.Field values. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.text.AttributedCharacterIterator.Attribute
| |||||||||||
From class java.lang.Object
|
This constant stands for the currency symbol.
This constant stands for the decimal separator.
This constant stands for the exponent part of the number.
This constant stands for the exponent sign symbol.
This constant stands for the exponent symbol.
This constant stands for the fraction part of the number.
This constant stands for the grouping separator.
This constant stands for the integer part of the number.
This constant stands for the percent symbol.
This constant stands for the permille symbol.
This constant stands for the number sign.
Constructs a new instance of NumberFormat.Field
with the
given field name.
fieldName | the field name. |
---|
Resolves instances that are deserialized to the constant
NumberFormat.Field
values.
InvalidObjectException | if an error occurs while resolving the field object. |
---|