| Package | Description |
|---|---|
| java.text | |
| javax.swing.text |
| Modifier and Type | Class and Description |
|---|---|
static class |
DateFormat.Field
Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from DateFormat.formatToCharacterIterator and as
field identifiers in FieldPosition. |
static class |
MessageFormat.Field
Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from MessageFormat.formatToCharacterIterator. |
static class |
NumberFormat.Field
Defines constants that are used as attribute keys in the
AttributedCharacterIterator returned
from NumberFormat.formatToCharacterIterator and as
field identifiers in FieldPosition. |
| Modifier and Type | Method and Description |
|---|---|
Format.Field |
FieldPosition.getFieldAttribute()
Returns the field identifier as an attribute constant
from one of the
Field subclasses. |
| Constructor and Description |
|---|
FieldPosition(Format.Field attribute)
Creates a FieldPosition object for the given field constant.
|
FieldPosition(Format.Field attribute,
int fieldID)
Creates a
FieldPosition object for the given field. |
| Modifier and Type | Method and Description |
|---|---|
Format.Field[] |
InternationalFormatter.getFields(int offset)
Returns the
Format.Field constants associated with
the text at offset. |
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.