jview
Class OrthographicTransformation.AngleFormat

java.lang.Object
  extended by java.text.Format
      extended by java.text.NumberFormat
          extended by java.text.DecimalFormat
              extended by jview.OrthographicTransformation.AngleFormat
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
OrthographicTransformation

private static final class OrthographicTransformation.AngleFormat
extends DecimalFormat

A format that formats angles.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.text.NumberFormat
NumberFormat.Field
 
Field Summary
private  double factor
          The multiplier.
 
Fields inherited from class java.text.NumberFormat
FRACTION_FIELD, INTEGER_FIELD
 
Constructor Summary
private OrthographicTransformation.AngleFormat(String append, double mult)
           
 
Method Summary
 StringBuffer format(double number, StringBuffer in, FieldPosition fp)
          Overrides formating of doubles, multiplies with factor.
 Number parse(String in, ParsePosition fp)
          Overrides formating of doubles, multiplies with factor.
 
Methods inherited from class java.text.DecimalFormat
applyLocalizedPattern, applyPattern, clone, equals, format, format, formatToCharacterIterator, getCurrency, getDecimalFormatSymbols, getGroupingSize, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getMultiplier, getNegativePrefix, getNegativeSuffix, getPositivePrefix, getPositiveSuffix, getRoundingMode, hashCode, isDecimalSeparatorAlwaysShown, isParseBigDecimal, setCurrency, setDecimalFormatSymbols, setDecimalSeparatorAlwaysShown, setGroupingSize, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setMultiplier, setNegativePrefix, setNegativeSuffix, setParseBigDecimal, setPositivePrefix, setPositiveSuffix, setRoundingMode, toLocalizedPattern, toPattern
 
Methods inherited from class java.text.NumberFormat
format, format, getAvailableLocales, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setGroupingUsed, setParseIntegerOnly
 
Methods inherited from class java.text.Format
format, parseObject
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factor

private double factor
The multiplier.

Constructor Detail

OrthographicTransformation.AngleFormat

private OrthographicTransformation.AngleFormat(String append,
                                               double mult)
Method Detail

format

public StringBuffer format(double number,
                           StringBuffer in,
                           FieldPosition fp)
Overrides formating of doubles, multiplies with factor.

Overrides:
format in class DecimalFormat

parse

public Number parse(String in,
                    ParsePosition fp)
Overrides formating of doubles, multiplies with factor.

Overrides:
parse in class DecimalFormat