|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.birt.chart.model.attribute.impl.FormatSpecifierImpl
org.eclipse.birt.chart.model.attribute.impl.JavaNumberFormatSpecifierImpl
public class JavaNumberFormatSpecifierImpl
An implementation of the model object ' Java Number Format Specifier'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
ELAST_EOBJECT_FLAG |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Method Summary | |
---|---|
JavaNumberFormatSpecifier |
copyInstance()
|
static JavaNumberFormatSpecifier |
create(java.lang.String sJavaPattern)
A convenience methods provided to create an initialized JavaNumberFormatSpecifier instance NOTE: Manually written |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
void |
eUnset(int featureID)
|
java.lang.String |
format(double dValue,
java.util.Locale lo)
Formats a value using the internally defined format specifier rules |
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()
|
java.lang.String |
getPattern()
|
boolean |
isSetMultiplier()
|
void |
setMultiplier(double newMultiplier)
|
void |
setPattern(java.lang.String newPattern)
|
java.lang.String |
toString()
|
void |
unsetMultiplier()
|
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Method Detail |
---|
public java.lang.String getPattern()
getPattern
in interface JavaNumberFormatSpecifier
JavaNumberFormatSpecifier.setPattern(String)
,
AttributePackage.getJavaNumberFormatSpecifier_Pattern()
public void setPattern(java.lang.String newPattern)
setPattern
in interface JavaNumberFormatSpecifier
newPattern
- the new value of the 'Pattern' attribute.JavaNumberFormatSpecifier.getPattern()
public double getMultiplier()
getMultiplier
in interface JavaNumberFormatSpecifier
JavaNumberFormatSpecifier.isSetMultiplier()
,
JavaNumberFormatSpecifier.unsetMultiplier()
,
JavaNumberFormatSpecifier.setMultiplier(double)
,
AttributePackage.getJavaNumberFormatSpecifier_Multiplier()
public void setMultiplier(double newMultiplier)
setMultiplier
in interface JavaNumberFormatSpecifier
newMultiplier
- the new value of the 'Multiplier' attribute.JavaNumberFormatSpecifier.isSetMultiplier()
,
JavaNumberFormatSpecifier.unsetMultiplier()
,
JavaNumberFormatSpecifier.getMultiplier()
public void unsetMultiplier()
unsetMultiplier
in interface JavaNumberFormatSpecifier
JavaNumberFormatSpecifier.isSetMultiplier()
,
JavaNumberFormatSpecifier.getMultiplier()
,
JavaNumberFormatSpecifier.setMultiplier(double)
public boolean isSetMultiplier()
isSetMultiplier
in interface JavaNumberFormatSpecifier
JavaNumberFormatSpecifier.unsetMultiplier()
,
JavaNumberFormatSpecifier.getMultiplier()
,
JavaNumberFormatSpecifier.setMultiplier(double)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public static JavaNumberFormatSpecifier create(java.lang.String sJavaPattern)
sJavaPattern
-
public java.lang.String format(double dValue, com.ibm.icu.util.ULocale lo)
JavaNumberFormatSpecifier
format
in interface JavaNumberFormatSpecifier
public java.lang.String format(java.lang.Number number, com.ibm.icu.util.ULocale lo)
JavaNumberFormatSpecifier
format
in interface JavaNumberFormatSpecifier
public java.lang.String format(double dValue, java.util.Locale lo)
JavaNumberFormatSpecifier
format
in interface JavaNumberFormatSpecifier
public JavaNumberFormatSpecifier copyInstance()
copyInstance
in interface FormatSpecifier
copyInstance
in interface JavaNumberFormatSpecifier
copyInstance
in interface IChartObject
copyInstance
in class FormatSpecifierImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |