public static class NumberFormat.Field extends Format.Field
AttributedCharacterIterator
returned from
NumberFormat.formatToCharacterIterator
and as field identifiers in FieldPosition
.Modifier and Type | Field and Description |
---|---|
static NumberFormat.Field |
CURRENCY
Constant identifying the currency field.
|
static NumberFormat.Field |
DECIMAL_SEPARATOR
Constant identifying the decimal separator field.
|
static NumberFormat.Field |
EXPONENT
Constant identifying the exponent field.
|
static NumberFormat.Field |
EXPONENT_SIGN
Constant identifying the exponent sign field.
|
static NumberFormat.Field |
EXPONENT_SYMBOL
Constant identifying the exponent symbol field.
|
static NumberFormat.Field |
FRACTION
Constant identifying the fraction field.
|
static NumberFormat.Field |
GROUPING_SEPARATOR
Constant identifying the grouping separator field.
|
static tec.units.ri.internal.format.l10n.Attribute |
INPUT_METHOD_SEGMENT
Attribute key for input method segments.
|
static NumberFormat.Field |
INTEGER
Constant identifying the integer field.
|
static tec.units.ri.internal.format.l10n.Attribute |
LANGUAGE
Attribute key for the language of some text.
|
static NumberFormat.Field |
PERCENT
Constant identifying the percent field.
|
static NumberFormat.Field |
PERMILLE
Constant identifying the permille field.
|
static tec.units.ri.internal.format.l10n.Attribute |
READING
Attribute key for the reading of some text.
|
static NumberFormat.Field |
SIGN
Constant identifying the sign field.
|
Modifier | Constructor and Description |
---|---|
protected |
NumberFormat.Field(String name)
Creates a Field instance with the specified name.
|
public static final NumberFormat.Field INTEGER
public static final NumberFormat.Field FRACTION
public static final NumberFormat.Field EXPONENT
public static final NumberFormat.Field DECIMAL_SEPARATOR
public static final NumberFormat.Field SIGN
public static final NumberFormat.Field GROUPING_SEPARATOR
public static final NumberFormat.Field EXPONENT_SYMBOL
public static final NumberFormat.Field PERCENT
public static final NumberFormat.Field PERMILLE
public static final NumberFormat.Field CURRENCY
public static final NumberFormat.Field EXPONENT_SIGN
public static final tec.units.ri.internal.format.l10n.Attribute LANGUAGE
Values are instances of Locale.
Locale
public static final tec.units.ri.internal.format.l10n.Attribute READING
Values are instances of Annotation holding instances of String.
Annotation
,
String
public static final tec.units.ri.internal.format.l10n.Attribute INPUT_METHOD_SEGMENT
Values are instances of Annotation holding a null reference.
Annotation
protected NumberFormat.Field(String name)
name
- Name of the attributepublic final boolean equals(Object obj)
x.equals(y)
if x
and y
refer to the
same object, and guarantees this for all subclasses.public final int hashCode()
public String toString()
Copyright © 2005–2017 Jean-Marie Dautelle, Werner Keil, V2COM. All rights reserved.