Jeospace API

org.jeospace.text
Class AngleFormat.Field

java.lang.Object
  extended byjava.text.AttributedCharacterIterator.Attribute
      extended byjava.text.Format.Field
          extended byorg.jeospace.text.AngleFormat.Field
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
AngleFormat

public static class AngleFormat.Field
extends java.text.Format.Field

Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from AngleFormat.formatToCharacterIterator and as field identifiers in FieldPosition.

See Also:
Serialized Form

Field Summary
static AngleFormat.Field DECIMAL
          Constant identifying the decimal fraction field.
static AngleFormat.Field DECIMAL_SYMBOL
          Constant identifying the decimal fraction symbol.
static AngleFormat.Field MINUTE
          Constant identifying the minute field.
static AngleFormat.Field MINUTE_SYMBOL
          Constant identifying the minute symbol.
static AngleFormat.Field PRIMARY_UNIT
          Constant identifying the primary unit field.
static AngleFormat.Field PRIMARY_UNIT_SYMBOL
          Constant identifying the primary unit symbol.
static AngleFormat.Field SECOND
          Constant identifying the second field.
static AngleFormat.Field SECOND_SYMBOL
          Constant identifying the second symbol.
static AngleFormat.Field SIGN
          Constant identifying the sign field.
 
Fields inherited from class java.text.AttributedCharacterIterator.Attribute
INPUT_METHOD_SEGMENT, LANGUAGE, READING
 
Constructor Summary
protected AngleFormat.Field(java.lang.String name)
          Creates a Field instance with the specified name.
 
Method Summary
protected  java.lang.Object readResolve()
          Resolves instances being deserialized to the predefined constants.
 
Methods inherited from class java.text.AttributedCharacterIterator.Attribute
equals, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SIGN

public static final AngleFormat.Field SIGN
Constant identifying the sign field.


PRIMARY_UNIT

public static final AngleFormat.Field PRIMARY_UNIT
Constant identifying the primary unit field. Depending upon the units that are specified for the formating, the primary unit may be in degrees, hours, radians or revolutions.


PRIMARY_UNIT_SYMBOL

public static final AngleFormat.Field PRIMARY_UNIT_SYMBOL
Constant identifying the primary unit symbol.


MINUTE

public static final AngleFormat.Field MINUTE
Constant identifying the minute field.


MINUTE_SYMBOL

public static final AngleFormat.Field MINUTE_SYMBOL
Constant identifying the minute symbol.


SECOND

public static final AngleFormat.Field SECOND
Constant identifying the second field.


SECOND_SYMBOL

public static final AngleFormat.Field SECOND_SYMBOL
Constant identifying the second symbol.


DECIMAL_SYMBOL

public static final AngleFormat.Field DECIMAL_SYMBOL
Constant identifying the decimal fraction symbol.


DECIMAL

public static final AngleFormat.Field DECIMAL
Constant identifying the decimal fraction field.

Constructor Detail

AngleFormat.Field

protected AngleFormat.Field(java.lang.String name)
Creates a Field instance with the specified name.

Parameters:
name - Name of the attribute
Method Detail

readResolve

protected java.lang.Object readResolve()
                                throws java.io.InvalidObjectException
Resolves instances being deserialized to the predefined constants.

Returns:
resolved AngleFormat.Field constant
Throws:
java.io.InvalidObjectException - if the constant could not be resolved.

Jeospace API

Copyright © 2006 - jeospace.org