jview
Class OrthographicTransformation.AngleFormat
java.lang.Object
java.text.Format
java.text.NumberFormat
java.text.DecimalFormat
jview.OrthographicTransformation.AngleFormat
- All Implemented Interfaces:
- Serializable, Cloneable
- Enclosing class:
- OrthographicTransformation
private static final class OrthographicTransformation.AngleFormat
- extends DecimalFormat
A format that formats angles.
|
Field Summary |
private double |
factor
The multiplier. |
| 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 |
factor
private double factor
- The multiplier.
OrthographicTransformation.AngleFormat
private OrthographicTransformation.AngleFormat(String append,
double mult)
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