| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.text.Format
com.pcauto.util.QuantityFormat
QuantityFormat  provides common function to be used by its subclasses
| Nested Class Summary | 
| Nested classes inherited from class java.text.Format | 
| java.text.Format.Field | 
| Field Summary | |
| protected  boolean | groupingUsed | 
| protected  int | scale | 
| protected  Units | units | 
| Constructor Summary | |
| QuantityFormat() | |
| Method Summary | |
|  int | getScale()Returns intvalue of scale. | 
|  boolean | isGroupingUsed()Returns true if grouping is used in this format. | 
|  void | setGroupingUsed(boolean newValue)Set whether or not grouping will be used in this format. | 
|  void | setScale(int scale)Sets scale for use in formatmethod. | 
| Methods inherited from class java.text.Format | 
| clone, format, format, formatToCharacterIterator, parseObject, parseObject | 
| Methods inherited from class java.lang.Object | 
| equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected int scale
protected boolean groupingUsed
protected Units units
| Constructor Detail | 
public QuantityFormat()
| Method Detail | 
public boolean isGroupingUsed()
boolean grouping valuesetGroupingUsed(boolean)public void setGroupingUsed(boolean newValue)
isGroupingUsed()public void setScale(int scale)
format method.
public int getScale()
int value of scale.
int value current scale| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||