All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.text.FormatStatus

java.lang.Object
   |
   +----java.text.FormatStatus

public class FormatStatus
extends Object
Simple class, used in Format and its subclasses.

For use in aligning columns of numbers or other formatted objects, without having to know what the exact format is (e.g. different decimal, rational numbers, etc.)

Example: "123.45" -> 3 (i.e. after the 3) while with the negative format "(12,345)" -> 7 (i.e., after the 5)

See Also:
Format

Variable Index

 o alignEnd
Output: End offset of field in text.
 o alignField
Input: Desired field to determine start and end offsets for.
 o alignStart
Output: Start offset of field in text.

Constructor Index

 o FormatStatus()

Variables

 o alignField
  public int alignField
Input: Desired field to determine start and end offsets for. The meaning depends on the subclass of Format.

 o alignStart
  public int alignStart
Output: Start offset of field in text. If the field does not occur in the text, 0 is returned.

 o alignEnd
  public int alignEnd
Output: End offset of field in text. If the field does not occur in the text, 0 is returned.

Constructors

 o FormatStatus
  public FormatStatus()

All Packages  Class Hierarchy  This Package  Previous  Next  Index