public class ExponentialFormat extends java.text.DecimalFormat implements RevisionHandler
| Modifier and Type | Field and Description |
|---|---|
protected int |
digits |
protected int |
exp |
protected java.text.DecimalFormat |
nf |
protected boolean |
sign |
protected boolean |
trailing |
| Constructor and Description |
|---|
ExponentialFormat() |
ExponentialFormat(int digits) |
ExponentialFormat(int digits,
boolean trailing) |
ExponentialFormat(int digits,
int exp,
boolean sign,
boolean trailing) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuffer |
format(double number,
java.lang.StringBuffer toAppendTo,
java.text.FieldPosition pos) |
java.lang.String |
getRevision()
Returns the revision string.
|
int |
width() |
applyLocalizedPattern, applyPattern, clone, equals, format, format, formatToCharacterIterator, getCurrency, getDecimalFormatSymbols, getGroupingSize, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getMultiplier, getNegativePrefix, getNegativeSuffix, getPositivePrefix, getPositiveSuffix, getRoundingMode, hashCode, isDecimalSeparatorAlwaysShown, isParseBigDecimal, parse, setCurrency, setDecimalFormatSymbols, setDecimalSeparatorAlwaysShown, setGroupingSize, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setMultiplier, setNegativePrefix, setNegativeSuffix, setParseBigDecimal, setPositivePrefix, setPositiveSuffix, setRoundingMode, toLocalizedPattern, toPatternformat, format, getAvailableLocales, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setParseIntegerOnlyprotected java.text.DecimalFormat nf
protected boolean sign
protected int digits
protected int exp
protected boolean trailing
public ExponentialFormat()
public ExponentialFormat(int digits)
public ExponentialFormat(int digits,
boolean trailing)
public ExponentialFormat(int digits,
int exp,
boolean sign,
boolean trailing)
public int width()
public java.lang.StringBuffer format(double number,
java.lang.StringBuffer toAppendTo,
java.text.FieldPosition pos)
format in class java.text.DecimalFormatpublic java.lang.String getRevision()
getRevision in interface RevisionHandler