public interface JavaNumberFormatSpecifier extends FormatSpecifier
The following features are supported:
Modifier and Type | Method and Description |
---|---|
JavaNumberFormatSpecifier |
copyInstance() |
java.lang.String |
format(double dValue,
java.util.Locale lo)
Deprecated.
|
java.lang.String |
format(double dValue,
com.ibm.icu.util.ULocale lo)
Formats a value using the internally defined format specifier rules
|
java.lang.String |
format(java.lang.Number number,
com.ibm.icu.util.ULocale lo)
Returns a formatted string representation of specified number.
|
double |
getMultiplier()
Returns the value of the 'Multiplier' attribute.
|
java.lang.String |
getPattern()
Returns the value of the 'Pattern' attribute.
|
boolean |
isSetMultiplier()
Returns whether the value of the '
Multiplier ' attribute is set. |
void |
setMultiplier(double value)
Sets the value of the '
Multiplier ' attribute. |
void |
setPattern(java.lang.String value)
Sets the value of the '
Pattern ' attribute. |
void |
unsetMultiplier()
Unsets the value of the '
Multiplier ' attribute. |
java.lang.String getPattern()
setPattern(String)
,
AttributePackage.getJavaNumberFormatSpecifier_Pattern()
void setPattern(java.lang.String value)
Pattern
' attribute.
value
- the new value of the 'Pattern' attribute.getPattern()
double getMultiplier()
isSetMultiplier()
,
unsetMultiplier()
,
setMultiplier(double)
,
AttributePackage.getJavaNumberFormatSpecifier_Multiplier()
void setMultiplier(double value)
Multiplier
' attribute.
value
- the new value of the 'Multiplier' attribute.isSetMultiplier()
,
unsetMultiplier()
,
getMultiplier()
void unsetMultiplier()
Multiplier
' attribute.
isSetMultiplier()
,
getMultiplier()
,
setMultiplier(double)
boolean isSetMultiplier()
Multiplier
' attribute is set.
unsetMultiplier()
,
getMultiplier()
,
setMultiplier(double)
java.lang.String format(double dValue, java.util.Locale lo)
dValue
- java.lang.String format(double dValue, com.ibm.icu.util.ULocale lo)
dValue
- java.lang.String format(java.lang.Number number, com.ibm.icu.util.ULocale lo)
number
- lo
- JavaNumberFormatSpecifier copyInstance()
copyInstance
in interface FormatSpecifier
copyInstance
in interface IChartObject
Copyright © 2005-2008 Actuate Corp. All rights reserved.