public class IlvWrappedICUDecimalFormat extends DecimalFormat
IlvWrappedICUNumberFormat
,
Serialized FormNumberFormat.Field
FRACTION_FIELD, INTEGER_FIELD
Constructor and Description |
---|
IlvWrappedICUDecimalFormat(Locale locale,
DecimalFormat delegate)
Creates a
DecimalFormat that delegates to an ICU
DecimalFormat . |
Modifier and Type | Method and Description |
---|---|
void |
applyLocalizedPattern(String pattern)
Overridden version of the same method of
DecimalFormat . |
void |
applyPattern(String pattern)
Overridden version of the same method of
DecimalFormat . |
Object |
clone()
Overridden version of the same method of
DecimalFormat . |
boolean |
equals(Object o)
Overridden version of the same method of
DecimalFormat . |
StringBuffer |
format(double number,
StringBuffer toAppendTo,
FieldPosition pos)
Overridden version of the same method of
DecimalFormat . |
StringBuffer |
format(long number,
StringBuffer toAppendTo,
FieldPosition pos)
Overridden version of the same method of
DecimalFormat . |
AttributedCharacterIterator |
formatToCharacterIterator(Object obj)
Overridden version of the same method of
DecimalFormat . |
Currency |
getCurrency()
Overridden version of the same method of
DecimalFormat . |
DecimalFormatSymbols |
getDecimalFormatSymbols()
Overridden version of the same method of
DecimalFormat . |
int |
getGroupingSize()
Overridden version of the same method of
DecimalFormat . |
int |
getMaximumFractionDigits()
Overridden version of the same method of
DecimalFormat . |
int |
getMaximumIntegerDigits()
Overridden version of the same method of
DecimalFormat . |
int |
getMinimumFractionDigits()
Overridden version of the same method of
DecimalFormat . |
int |
getMinimumIntegerDigits()
Overridden version of the same method of
DecimalFormat . |
int |
getMultiplier()
Overridden version of the same method of
DecimalFormat . |
String |
getNegativePrefix()
Overridden version of the same method of
DecimalFormat . |
String |
getNegativeSuffix()
Overridden version of the same method of
DecimalFormat . |
String |
getPositivePrefix()
Overridden version of the same method of
DecimalFormat . |
String |
getPositiveSuffix()
Overridden version of the same method of
DecimalFormat . |
RoundingMode |
getRoundingMode()
Overridden version of the same method of
DecimalFormat . |
DecimalFormat |
getUnderlyingICUFormat()
Returns the underlying ICU DecimalFormat instance.
|
int |
hashCode()
Overridden version of the same method of
DecimalFormat . |
boolean |
isDecimalSeparatorAlwaysShown()
Overridden version of the same method of
DecimalFormat . |
boolean |
isGroupingUsed()
Overridden version of the same method of
DecimalFormat . |
boolean |
isParseBigDecimal()
Overridden version of the same method of
DecimalFormat . |
boolean |
isParseIntegerOnly()
Overridden version of the same method of
DecimalFormat . |
Number |
parse(String source)
Overridden version of the same method of
DecimalFormat . |
Number |
parse(String source,
ParsePosition parsePosition)
Overridden version of the same method of
DecimalFormat . |
void |
setCurrency(Currency currency)
Overridden version of the same method of
DecimalFormat . |
void |
setDecimalFormatSymbols(DecimalFormatSymbols newSymbols)
Overridden version of the same method of
DecimalFormat . |
void |
setDecimalSeparatorAlwaysShown(boolean newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setGroupingSize(int newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setGroupingUsed(boolean newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setMaximumFractionDigits(int newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setMaximumIntegerDigits(int newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setMinimumFractionDigits(int newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setMinimumIntegerDigits(int newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setMultiplier(int newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setNegativePrefix(String newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setNegativeSuffix(String newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setParseBigDecimal(boolean newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setParseIntegerOnly(boolean value)
Overridden version of the same method of
DecimalFormat . |
void |
setPositivePrefix(String newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setPositiveSuffix(String newValue)
Overridden version of the same method of
DecimalFormat . |
void |
setRoundingMode(RoundingMode roundingMode)
Overridden version of the same method of
DecimalFormat . |
String |
toLocalizedPattern()
Overridden version of the same method of
DecimalFormat . |
String |
toPattern()
Overridden version of the same method of
DecimalFormat . |
format
format, format, getAvailableLocales, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, parseObject
format, parseObject
public IlvWrappedICUDecimalFormat(Locale locale, DecimalFormat delegate)
DecimalFormat
that delegates to an ICU
DecimalFormat
.public DecimalFormat getUnderlyingICUFormat()
public Number parse(String source) throws ParseException
DecimalFormat
.parse
in class NumberFormat
ParseException
DecimalFormat
public boolean isParseIntegerOnly()
DecimalFormat
.isParseIntegerOnly
in class NumberFormat
DecimalFormat
public void setParseIntegerOnly(boolean value)
DecimalFormat
.setParseIntegerOnly
in class NumberFormat
DecimalFormat
public boolean isGroupingUsed()
DecimalFormat
.isGroupingUsed
in class NumberFormat
DecimalFormat
public void setGroupingUsed(boolean newValue)
DecimalFormat
.setGroupingUsed
in class DecimalFormat
DecimalFormat
public AttributedCharacterIterator formatToCharacterIterator(Object obj)
DecimalFormat
.formatToCharacterIterator
in class DecimalFormat
DecimalFormat
public DecimalFormatSymbols getDecimalFormatSymbols()
DecimalFormat
.getDecimalFormatSymbols
in class DecimalFormat
DecimalFormat
public void setDecimalFormatSymbols(DecimalFormatSymbols newSymbols)
DecimalFormat
.setDecimalFormatSymbols
in class DecimalFormat
DecimalFormat
public String getPositivePrefix()
DecimalFormat
.getPositivePrefix
in class DecimalFormat
DecimalFormat
public void setPositivePrefix(String newValue)
DecimalFormat
.setPositivePrefix
in class DecimalFormat
DecimalFormat
public String getNegativePrefix()
DecimalFormat
.getNegativePrefix
in class DecimalFormat
DecimalFormat
public void setNegativePrefix(String newValue)
DecimalFormat
.setNegativePrefix
in class DecimalFormat
DecimalFormat
public String getPositiveSuffix()
DecimalFormat
.getPositiveSuffix
in class DecimalFormat
DecimalFormat
public void setPositiveSuffix(String newValue)
DecimalFormat
.setPositiveSuffix
in class DecimalFormat
DecimalFormat
public String getNegativeSuffix()
DecimalFormat
.getNegativeSuffix
in class DecimalFormat
DecimalFormat
public void setNegativeSuffix(String newValue)
DecimalFormat
.setNegativeSuffix
in class DecimalFormat
DecimalFormat
public int getMultiplier()
DecimalFormat
.getMultiplier
in class DecimalFormat
DecimalFormat
public void setMultiplier(int newValue)
DecimalFormat
.setMultiplier
in class DecimalFormat
DecimalFormat
public int getGroupingSize()
DecimalFormat
.getGroupingSize
in class DecimalFormat
DecimalFormat
public void setGroupingSize(int newValue)
DecimalFormat
.setGroupingSize
in class DecimalFormat
DecimalFormat
public boolean isDecimalSeparatorAlwaysShown()
DecimalFormat
.isDecimalSeparatorAlwaysShown
in class DecimalFormat
DecimalFormat
public void setDecimalSeparatorAlwaysShown(boolean newValue)
DecimalFormat
.setDecimalSeparatorAlwaysShown
in class DecimalFormat
DecimalFormat
public boolean isParseBigDecimal()
DecimalFormat
.isParseBigDecimal
in class DecimalFormat
DecimalFormat
public void setParseBigDecimal(boolean newValue)
DecimalFormat
.setParseBigDecimal
in class DecimalFormat
DecimalFormat
public String toPattern()
DecimalFormat
.toPattern
in class DecimalFormat
DecimalFormat
public String toLocalizedPattern()
DecimalFormat
.toLocalizedPattern
in class DecimalFormat
DecimalFormat
public void applyPattern(String pattern)
DecimalFormat
.applyPattern
in class DecimalFormat
DecimalFormat
public void applyLocalizedPattern(String pattern)
DecimalFormat
.applyLocalizedPattern
in class DecimalFormat
DecimalFormat
public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos)
DecimalFormat
.format
in class DecimalFormat
DecimalFormat
public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos)
DecimalFormat
.format
in class DecimalFormat
DecimalFormat
public Number parse(String source, ParsePosition parsePosition)
DecimalFormat
.parse
in class DecimalFormat
DecimalFormat
public int getMaximumIntegerDigits()
DecimalFormat
.getMaximumIntegerDigits
in class DecimalFormat
DecimalFormat
public void setMaximumIntegerDigits(int newValue)
DecimalFormat
.setMaximumIntegerDigits
in class DecimalFormat
DecimalFormat
public int getMinimumIntegerDigits()
DecimalFormat
.getMinimumIntegerDigits
in class DecimalFormat
DecimalFormat
public void setMinimumIntegerDigits(int newValue)
DecimalFormat
.setMinimumIntegerDigits
in class DecimalFormat
DecimalFormat
public int getMaximumFractionDigits()
DecimalFormat
.getMaximumFractionDigits
in class DecimalFormat
DecimalFormat
public void setMaximumFractionDigits(int newValue)
DecimalFormat
.setMaximumFractionDigits
in class DecimalFormat
DecimalFormat
public int getMinimumFractionDigits()
DecimalFormat
.getMinimumFractionDigits
in class DecimalFormat
DecimalFormat
public void setMinimumFractionDigits(int newValue)
DecimalFormat
.setMinimumFractionDigits
in class DecimalFormat
DecimalFormat
public Currency getCurrency()
DecimalFormat
.getCurrency
in class DecimalFormat
DecimalFormat
public void setCurrency(Currency currency)
DecimalFormat
.setCurrency
in class DecimalFormat
DecimalFormat
public RoundingMode getRoundingMode()
DecimalFormat
.getRoundingMode
in class DecimalFormat
DecimalFormat
public void setRoundingMode(RoundingMode roundingMode)
DecimalFormat
.setRoundingMode
in class DecimalFormat
DecimalFormat
public boolean equals(Object o)
DecimalFormat
.equals
in class DecimalFormat
DecimalFormat
public int hashCode()
DecimalFormat
.hashCode
in class DecimalFormat
DecimalFormat
public Object clone()
DecimalFormat
.clone
in class DecimalFormat
DecimalFormat
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.