Uses of Class
java.text.Format.Field
Package
Description
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
Provides classes and interfaces that deal with editable and noneditable text
components.
-
Uses of Format.Field in java.text
Modifier and TypeClassDescriptionstatic class
Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromDateFormat.formatToCharacterIterator
and as field identifiers inFieldPosition
.static class
Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromMessageFormat.formatToCharacterIterator
.static class
Defines constants that are used as attribute keys in theAttributedCharacterIterator
returned fromNumberFormat.formatToCharacterIterator
and as field identifiers inFieldPosition
.Modifier and TypeMethodDescriptionFieldPosition.getFieldAttribute()
Returns the field identifier as an attribute constant from one of theField
subclasses.ModifierConstructorDescriptionFieldPosition(Format.Field attribute)
Creates a FieldPosition object for the given field constant.FieldPosition(Format.Field attribute, int fieldID)
Creates aFieldPosition
object for the given field. -
Uses of Format.Field in javax.swing.text
Modifier and TypeMethodDescriptionInternationalFormatter.getFields(int offset)
Returns theFormat.Field
constants associated with the text atoffset
.