Android
java.text
public static class

java.text.NumberFormat.Field

java.lang.Object
java.text.AttributedCharacterIterator.Attribute Serializable
java.text.Format.Field
java.text.NumberFormat.Field

The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that NumberFormat.formatToCharacterIterator() method returns.

There is no public constructor to this class, the only instances are the constants defined here.

Summary

Constants

      Value  
NumberFormat.Field  CURRENCY  This constant stands for the currency symbol.     
NumberFormat.Field  DECIMAL_SEPARATOR  This constant stands for the decimal separator.     
NumberFormat.Field  EXPONENT  This constant stands for the exponent part of the number.     
NumberFormat.Field  EXPONENT_SIGN  This constant stands for the exponent sign symbol.     
NumberFormat.Field  EXPONENT_SYMBOL  This constant stands for the exponent symbol.     
NumberFormat.Field  FRACTION  This constant stands for the fraction part of the number.     
NumberFormat.Field  GROUPING_SEPARATOR  This constant stands for the grouping separator.     
NumberFormat.Field  INTEGER  This constant stands for the integer part of the number.     
NumberFormat.Field  PERCENT  This constant stands for the percent symbol.     
NumberFormat.Field  PERMILLE  This constant stands for the permille symbol.     
NumberFormat.Field  SIGN  This constant stands for the number sign.     
Constants inherited from class java.text.AttributedCharacterIterator.Attribute

Protected Constructors

            NumberFormat.Field(String fieldName)
Constructs a new instance of NumberFormat.Field with the given field name.

Protected Methods

          Object  readResolve()
serialization method resolve instances to the constant NumberFormat.Field values
Methods inherited from class java.text.AttributedCharacterIterator.Attribute
Methods inherited from class java.lang.Object

Details

Constants

public static final NumberFormat.Field CURRENCY

This constant stands for the currency symbol.

public static final NumberFormat.Field DECIMAL_SEPARATOR

This constant stands for the decimal separator.

public static final NumberFormat.Field EXPONENT

This constant stands for the exponent part of the number.

public static final NumberFormat.Field EXPONENT_SIGN

This constant stands for the exponent sign symbol.

public static final NumberFormat.Field EXPONENT_SYMBOL

This constant stands for the exponent symbol.

public static final NumberFormat.Field FRACTION

This constant stands for the fraction part of the number.

public static final NumberFormat.Field GROUPING_SEPARATOR

This constant stands for the grouping separator.

public static final NumberFormat.Field INTEGER

This constant stands for the integer part of the number.

public static final NumberFormat.Field PERCENT

This constant stands for the percent symbol.

public static final NumberFormat.Field PERMILLE

This constant stands for the permille symbol.

public static final NumberFormat.Field SIGN

This constant stands for the number sign.

Protected Constructors

protected NumberFormat.Field(String fieldName)

Constructs a new instance of NumberFormat.Field with the given field name.

Parameters

fieldName The field name.

Protected Methods

protected Object readResolve()

serialization method resolve instances to the constant NumberFormat.Field values
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48