Uses of Class
java.text.Format.Field
Packages that useFormat.Field Package Description java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components.Uses ofFormat.Field injava.text
Subclasses ofFormat.Field injava.text Modifier and Type Class Description static classDateFormat.FieldDefines constants that are used as attribute keys in theAttributedCharacterIteratorreturned fromDateFormat.formatToCharacterIteratorand as field identifiers inFieldPosition.static classMessageFormat.FieldDefines constants that are used as attribute keys in theAttributedCharacterIteratorreturned fromMessageFormat.formatToCharacterIterator.static classNumberFormat.FieldDefines constants that are used as attribute keys in theAttributedCharacterIteratorreturned fromNumberFormat.formatToCharacterIteratorand as field identifiers inFieldPosition.Methods injava.text that returnFormat.Field Modifier and Type Method Description Format.FieldFieldPosition. getFieldAttribute()Returns the field identifier as an attribute constant from one of theFieldsubclasses.Constructors injava.text with parameters of typeFormat.Field Constructor Description FieldPosition(Format.Field attribute)Creates a FieldPosition object for the given field constant.FieldPosition(Format.Field attribute, int fieldID)Creates aFieldPositionobject for the given field.Uses ofFormat.Field injavax.swing.text
Methods injavax.swing.text that returnFormat.Field Modifier and Type Method Description Format.Field[]InternationalFormatter. getFields(int offset)Returns theFormat.Fieldconstants associated with the text atoffset.