|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Number Format Specifier'. This type holds the format specifier properties for a numeric label.
The following features are supported:
AttributePackage.getNumberFormatSpecifier()| Method Summary | |
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 |
int |
getFractionDigits()
Returns the value of the 'Fraction Digits' attribute. |
double |
getMultiplier()
Returns the value of the 'Multiplier' attribute. |
java.lang.String |
getPrefix()
Returns the value of the 'Prefix' attribute. |
java.lang.String |
getSuffix()
Returns the value of the 'Suffix' attribute. |
boolean |
isSetFractionDigits()
Returns whether the value of the ' Fraction Digits' attribute is set. |
boolean |
isSetMultiplier()
Returns whether the value of the ' Multiplier' attribute is set. |
void |
setFractionDigits(int value)
Sets the value of the ' Fraction Digits' attribute. |
void |
setMultiplier(double value)
Sets the value of the ' Multiplier' attribute. |
void |
setPrefix(java.lang.String value)
Sets the value of the ' Prefix' attribute. |
void |
setSuffix(java.lang.String value)
Sets the value of the ' Suffix' attribute. |
void |
unsetFractionDigits()
Unsets the value of the ' Fraction Digits' attribute. |
void |
unsetMultiplier()
Unsets the value of the ' Multiplier' attribute. |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
public java.lang.String getPrefix()
setPrefix(String),
AttributePackage.getNumberFormatSpecifier_Prefix()public void setPrefix(java.lang.String value)
Prefix' attribute.
value - the new value of the 'Prefix' attribute.getPrefix()public java.lang.String getSuffix()
setSuffix(String),
AttributePackage.getNumberFormatSpecifier_Suffix()public void setSuffix(java.lang.String value)
Suffix' attribute.
value - the new value of the 'Suffix' attribute.getSuffix()public double getMultiplier()
isSetMultiplier(),
unsetMultiplier(),
setMultiplier(double),
AttributePackage.getNumberFormatSpecifier_Multiplier()public void setMultiplier(double value)
Multiplier' attribute.
value - the new value of the 'Multiplier' attribute.isSetMultiplier(),
unsetMultiplier(),
getMultiplier()public void unsetMultiplier()
Multiplier' attribute.
isSetMultiplier(),
getMultiplier(),
setMultiplier(double)public boolean isSetMultiplier()
Multiplier' attribute is set.
unsetMultiplier(),
getMultiplier(),
setMultiplier(double)public int getFractionDigits()
isSetFractionDigits(),
unsetFractionDigits(),
setFractionDigits(int),
AttributePackage.getNumberFormatSpecifier_FractionDigits()public void setFractionDigits(int value)
Fraction Digits' attribute.
value - the new value of the 'Fraction Digits' attribute.isSetFractionDigits(),
unsetFractionDigits(),
getFractionDigits()public void unsetFractionDigits()
Fraction Digits' attribute.
isSetFractionDigits(),
getFractionDigits(),
setFractionDigits(int)public boolean isSetFractionDigits()
Fraction Digits' attribute is set.
unsetFractionDigits(),
getFractionDigits(),
setFractionDigits(int)
public java.lang.String format(double dValue,
java.util.Locale lo)
dValue -
public java.lang.String format(double dValue,
com.ibm.icu.util.ULocale lo)
dValue -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||