|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FractionNumberFormatSpecifier
A representation of the model object 'Fraction Number Format Specifier'. This type holds the fraction format specifier properties for a numeric label.
The following features are supported:
AttributePackage.getFractionNumberFormatSpecifier()| 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 |
java.lang.String |
getDelimiter()
Returns the value of the 'Delimiter' attribute. |
int |
getFractionDigits()
Returns the value of the 'Fraction Digits' attribute. |
double |
getNumerator()
Returns the value of the 'Numerator' attribute. |
java.lang.String |
getPrefix()
Returns the value of the 'Prefix' attribute. |
java.lang.String |
getSuffix()
Returns the value of the 'Suffix' attribute. |
boolean |
isPrecise()
Returns the value of the 'Precise' attribute. |
boolean |
isSetDelimiter()
Returns whether the value of the ' Delimiter' attribute is set. |
boolean |
isSetFractionDigits()
Returns whether the value of the ' Fraction Digits' attribute is set. |
boolean |
isSetNumerator()
Returns whether the value of the ' Numerator' attribute is set. |
boolean |
isSetPrecise()
Returns whether the value of the ' Precise' attribute is set. |
void |
setDelimiter(java.lang.String value)
Sets the value of the ' Delimiter' attribute. |
void |
setFractionDigits(int value)
Sets the value of the ' Fraction Digits' attribute. |
void |
setNumerator(double value)
Sets the value of the ' Numerator' attribute. |
void |
setPrecise(boolean value)
Sets the value of the ' Precise' 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 |
unsetDelimiter()
Unsets the value of the ' Delimiter' attribute. |
void |
unsetFractionDigits()
Unsets the value of the ' Fraction Digits' attribute. |
void |
unsetNumerator()
Unsets the value of the ' Numerator' attribute. |
void |
unsetPrecise()
Unsets the value of the ' Precise' 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 |
|---|
boolean isPrecise()
isSetPrecise(),
unsetPrecise(),
setPrecise(boolean),
AttributePackage.getFractionNumberFormatSpecifier_Precise()void setPrecise(boolean value)
Precise' attribute.
value - the new value of the 'Precise' attribute.isSetPrecise(),
unsetPrecise(),
isPrecise()void unsetPrecise()
Precise' attribute.
isSetPrecise(),
isPrecise(),
setPrecise(boolean)boolean isSetPrecise()
Precise' attribute is set.
unsetPrecise(),
isPrecise(),
setPrecise(boolean)int getFractionDigits()
isSetFractionDigits(),
unsetFractionDigits(),
setFractionDigits(int),
AttributePackage.getFractionNumberFormatSpecifier_FractionDigits()void setFractionDigits(int value)
Fraction Digits' attribute.
value - the new value of the 'Fraction Digits' attribute.isSetFractionDigits(),
unsetFractionDigits(),
getFractionDigits()void unsetFractionDigits()
Fraction Digits' attribute.
isSetFractionDigits(),
getFractionDigits(),
setFractionDigits(int)boolean isSetFractionDigits()
Fraction Digits' attribute is set.
unsetFractionDigits(),
getFractionDigits(),
setFractionDigits(int)double getNumerator()
isSetNumerator(),
unsetNumerator(),
setNumerator(double),
AttributePackage.getFractionNumberFormatSpecifier_Numerator()void setNumerator(double value)
Numerator' attribute.
value - the new value of the 'Numerator' attribute.isSetNumerator(),
unsetNumerator(),
getNumerator()void unsetNumerator()
Numerator' attribute.
isSetNumerator(),
getNumerator(),
setNumerator(double)boolean isSetNumerator()
Numerator' attribute is set.
unsetNumerator(),
getNumerator(),
setNumerator(double)java.lang.String getPrefix()
setPrefix(String),
AttributePackage.getFractionNumberFormatSpecifier_Prefix()void setPrefix(java.lang.String value)
Prefix' attribute.
value - the new value of the 'Prefix' attribute.getPrefix()java.lang.String getSuffix()
setSuffix(String),
AttributePackage.getFractionNumberFormatSpecifier_Suffix()void setSuffix(java.lang.String value)
Suffix' attribute.
value - the new value of the 'Suffix' attribute.getSuffix()java.lang.String getDelimiter()
"/".
Specifies the string as the fraction stroke. Default is "/".
isSetDelimiter(),
unsetDelimiter(),
setDelimiter(String),
AttributePackage.getFractionNumberFormatSpecifier_Delimiter()void setDelimiter(java.lang.String value)
Delimiter' attribute.
value - the new value of the 'Delimiter' attribute.isSetDelimiter(),
unsetDelimiter(),
getDelimiter()void unsetDelimiter()
Delimiter' attribute.
isSetDelimiter(),
getDelimiter(),
setDelimiter(String)boolean isSetDelimiter()
Delimiter' attribute is set.
unsetDelimiter(),
getDelimiter(),
setDelimiter(String)
java.lang.String format(double dValue,
java.util.Locale lo)
dValue -
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 | |||||||||