Lines Matching refs:Format

42  * <code>FieldPosition</code> is a simple class used by <code>Format</code>
48 * subclasses of <code>Format</code>.
49 * <li>By a <code>Format.Field</code> constant, see <code>ERA_FIELD</code>
60 * <code>Format</code> classes requires a <code>FieldPosition</code>
67 * formatted string use the <code>Format</code> method
71 * @see java.text.Format
77 * The meaning depends on the subclass of Format.
96 private Format.Field attribute;
101 * in the various subclasses of Format.
114 * identified by constants defined in the various <code>Format</code>
118 * @param attribute Format.Field constant identifying a field
121 public FieldPosition(Format.Field attribute) {
129 * defined by the <code>Format</code> subclasses. <code>Format</code>
132 * <code>attribute</code> is not null. However, older <code>Format</code>
137 * @param attribute Format.Field constant identifying a field
141 public FieldPosition(Format.Field attribute, int fieldID) {
154 public Format.Field getFieldAttribute() {
181 * Sets the begin index. For use by subclasses of Format.
189 * Sets the end index. For use by subclasses of Format.
197 * Returns a <code>Format.FieldDelegate</code> instance that is associated
202 Format.FieldDelegate getFieldDelegate() {
249 * Return true if the receiver wants a <code>Format.Field</code> value and
252 private boolean matchesField(Format.Field attribute) {
260 * Return true if the receiver wants a <code>Format.Field</code> value and
264 private boolean matchesField(Format.Field attribute, int field) {
277 private class Delegate implements Format.FieldDelegate {
285 public void formatted(Format.Field attr, Object value, int start,
294 public void formatted(int fieldID, Format.Field attr, Object value,