Class DialImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- org.eclipse.birt.chart.model.component.impl.DialImpl
-
- All Implemented Interfaces:
Dial,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
public class DialImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Dial
An implementation of the model object 'Dial'.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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChainbasicSetFill(Fill newFill, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetFormatSpecifier(FormatSpecifier newFormatSpecifier, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetLabel(Label newLabel, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetLineAttributes(LineAttributes newLineAttributes, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetMajorGrid(Grid newMajorGrid, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetMinorGrid(Grid newMinorGrid, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetScale(Scale newScale, org.eclipse.emf.common.notify.NotificationChain msgs)DialcopyInstance()static Dialcreate()static DialcreateDefault()java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)voideUnset(int featureID)org.eclipse.emf.common.util.EList<DialRegion>getDialRegions()FillgetFill()FormatSpecifiergetFormatSpecifier()LabelgetLabel()LineAttributesgetLineAttributes()GridgetMajorGrid()GridgetMinorGrid()doublegetRadius()ScalegetScale()doublegetStartAngle()doublegetStopAngle()booleanisInverseScale()booleanisSetInverseScale()booleanisSetRadius()booleanisSetStartAngle()booleanisSetStopAngle()voidsetFill(Fill newFill)voidsetFormatSpecifier(FormatSpecifier newFormatSpecifier)voidsetInverseScale(boolean newInverseScale)voidsetLabel(Label newLabel)voidsetLineAttributes(LineAttributes newLineAttributes)voidsetMajorGrid(Grid newMajorGrid)voidsetMinorGrid(Grid newMinorGrid)voidsetRadius(double newRadius)voidsetScale(Scale newScale)voidsetStartAngle(double newStartAngle)voidsetStopAngle(double newStopAngle)java.lang.StringtoString()voidunsetInverseScale()voidunsetRadius()voidunsetStartAngle()voidunsetStopAngle()-
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, 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
-
-
-
-
Method Detail
-
getStartAngle
public double getStartAngle()
- Specified by:
getStartAnglein interfaceDial- Returns:
- the value of the 'Start Angle' attribute.
- See Also:
Dial.isSetStartAngle(),Dial.unsetStartAngle(),Dial.setStartAngle(double),ComponentPackage.getDial_StartAngle()
-
setStartAngle
public void setStartAngle(double newStartAngle)
- Specified by:
setStartAnglein interfaceDial- Parameters:
newStartAngle- the new value of the 'Start Angle' attribute.- See Also:
Dial.isSetStartAngle(),Dial.unsetStartAngle(),Dial.getStartAngle()
-
unsetStartAngle
public void unsetStartAngle()
- Specified by:
unsetStartAnglein interfaceDial- See Also:
Dial.isSetStartAngle(),Dial.getStartAngle(),Dial.setStartAngle(double)
-
isSetStartAngle
public boolean isSetStartAngle()
- Specified by:
isSetStartAnglein interfaceDial- Returns:
- whether the value of the 'Start Angle' attribute is set.
- See Also:
Dial.unsetStartAngle(),Dial.getStartAngle(),Dial.setStartAngle(double)
-
getStopAngle
public double getStopAngle()
- Specified by:
getStopAnglein interfaceDial- Returns:
- the value of the 'Stop Angle' attribute.
- See Also:
Dial.isSetStopAngle(),Dial.unsetStopAngle(),Dial.setStopAngle(double),ComponentPackage.getDial_StopAngle()
-
setStopAngle
public void setStopAngle(double newStopAngle)
- Specified by:
setStopAnglein interfaceDial- Parameters:
newStopAngle- the new value of the 'Stop Angle' attribute.- See Also:
Dial.isSetStopAngle(),Dial.unsetStopAngle(),Dial.getStopAngle()
-
unsetStopAngle
public void unsetStopAngle()
- Specified by:
unsetStopAnglein interfaceDial- See Also:
Dial.isSetStopAngle(),Dial.getStopAngle(),Dial.setStopAngle(double)
-
isSetStopAngle
public boolean isSetStopAngle()
- Specified by:
isSetStopAnglein interfaceDial- Returns:
- whether the value of the 'Stop Angle' attribute is set.
- See Also:
Dial.unsetStopAngle(),Dial.getStopAngle(),Dial.setStopAngle(double)
-
getRadius
public double getRadius()
- Specified by:
getRadiusin interfaceDial- Returns:
- the value of the 'Radius' attribute.
- See Also:
Dial.isSetRadius(),Dial.unsetRadius(),Dial.setRadius(double),ComponentPackage.getDial_Radius()
-
setRadius
public void setRadius(double newRadius)
- Specified by:
setRadiusin interfaceDial- Parameters:
newRadius- the new value of the 'Radius' attribute.- See Also:
Dial.isSetRadius(),Dial.unsetRadius(),Dial.getRadius()
-
unsetRadius
public void unsetRadius()
- Specified by:
unsetRadiusin interfaceDial- See Also:
Dial.isSetRadius(),Dial.getRadius(),Dial.setRadius(double)
-
isSetRadius
public boolean isSetRadius()
- Specified by:
isSetRadiusin interfaceDial- Returns:
- whether the value of the 'Radius' attribute is set.
- See Also:
Dial.unsetRadius(),Dial.getRadius(),Dial.setRadius(double)
-
getLineAttributes
public LineAttributes getLineAttributes()
- Specified by:
getLineAttributesin interfaceDial- Returns:
- the value of the 'Line Attributes' containment reference.
- See Also:
Dial.setLineAttributes(LineAttributes),ComponentPackage.getDial_LineAttributes()
-
basicSetLineAttributes
public org.eclipse.emf.common.notify.NotificationChain basicSetLineAttributes(LineAttributes newLineAttributes, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setLineAttributes
public void setLineAttributes(LineAttributes newLineAttributes)
- Specified by:
setLineAttributesin interfaceDial- Parameters:
newLineAttributes- the new value of the 'Line Attributes' containment reference.- See Also:
Dial.getLineAttributes()
-
getFill
public Fill getFill()
- Specified by:
getFillin interfaceDial- Returns:
- the value of the 'Fill' containment reference.
- See Also:
Dial.setFill(Fill),ComponentPackage.getDial_Fill()
-
basicSetFill
public org.eclipse.emf.common.notify.NotificationChain basicSetFill(Fill newFill, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setFill
public void setFill(Fill newFill)
- Specified by:
setFillin interfaceDial- Parameters:
newFill- the new value of the 'Fill' containment reference.- See Also:
Dial.getFill()
-
getDialRegions
public org.eclipse.emf.common.util.EList<DialRegion> getDialRegions()
- Specified by:
getDialRegionsin interfaceDial- Returns:
- the value of the 'Dial Regions' containment reference list.
- See Also:
ComponentPackage.getDial_DialRegions()
-
getMajorGrid
public Grid getMajorGrid()
- Specified by:
getMajorGridin interfaceDial- Returns:
- the value of the 'Major Grid' containment reference.
- See Also:
Dial.setMajorGrid(Grid),ComponentPackage.getDial_MajorGrid()
-
basicSetMajorGrid
public org.eclipse.emf.common.notify.NotificationChain basicSetMajorGrid(Grid newMajorGrid, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setMajorGrid
public void setMajorGrid(Grid newMajorGrid)
- Specified by:
setMajorGridin interfaceDial- Parameters:
newMajorGrid- the new value of the 'Major Grid' containment reference.- See Also:
Dial.getMajorGrid()
-
getMinorGrid
public Grid getMinorGrid()
- Specified by:
getMinorGridin interfaceDial- Returns:
- the value of the 'Minor Grid' containment reference.
- See Also:
Dial.setMinorGrid(Grid),ComponentPackage.getDial_MinorGrid()
-
basicSetMinorGrid
public org.eclipse.emf.common.notify.NotificationChain basicSetMinorGrid(Grid newMinorGrid, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setMinorGrid
public void setMinorGrid(Grid newMinorGrid)
- Specified by:
setMinorGridin interfaceDial- Parameters:
newMinorGrid- the new value of the 'Minor Grid' containment reference.- See Also:
Dial.getMinorGrid()
-
getScale
public Scale getScale()
- Specified by:
getScalein interfaceDial- Returns:
- the value of the 'Scale' containment reference.
- See Also:
Dial.setScale(Scale),ComponentPackage.getDial_Scale()
-
basicSetScale
public org.eclipse.emf.common.notify.NotificationChain basicSetScale(Scale newScale, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setScale
public void setScale(Scale newScale)
- Specified by:
setScalein interfaceDial- Parameters:
newScale- the new value of the 'Scale' containment reference.- See Also:
Dial.getScale()
-
isInverseScale
public boolean isInverseScale()
- Specified by:
isInverseScalein interfaceDial- Returns:
- the value of the 'Inverse Scale' attribute.
- See Also:
Dial.isSetInverseScale(),Dial.unsetInverseScale(),Dial.setInverseScale(boolean),ComponentPackage.getDial_InverseScale()
-
setInverseScale
public void setInverseScale(boolean newInverseScale)
- Specified by:
setInverseScalein interfaceDial- Parameters:
newInverseScale- the new value of the 'Inverse Scale' attribute.- See Also:
Dial.isSetInverseScale(),Dial.unsetInverseScale(),Dial.isInverseScale()
-
unsetInverseScale
public void unsetInverseScale()
- Specified by:
unsetInverseScalein interfaceDial- See Also:
Dial.isSetInverseScale(),Dial.isInverseScale(),Dial.setInverseScale(boolean)
-
isSetInverseScale
public boolean isSetInverseScale()
- Specified by:
isSetInverseScalein interfaceDial- Returns:
- whether the value of the 'Inverse Scale' attribute is set.
- See Also:
Dial.unsetInverseScale(),Dial.isInverseScale(),Dial.setInverseScale(boolean)
-
getLabel
public Label getLabel()
- Specified by:
getLabelin interfaceDial- Returns:
- the value of the 'Label' containment reference.
- See Also:
Dial.setLabel(Label),ComponentPackage.getDial_Label()
-
basicSetLabel
public org.eclipse.emf.common.notify.NotificationChain basicSetLabel(Label newLabel, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setLabel
public void setLabel(Label newLabel)
- Specified by:
setLabelin interfaceDial- Parameters:
newLabel- the new value of the 'Label' containment reference.- See Also:
Dial.getLabel()
-
getFormatSpecifier
public FormatSpecifier getFormatSpecifier()
- Specified by:
getFormatSpecifierin interfaceDial- Returns:
- the value of the 'Format Specifier' containment reference.
- See Also:
Dial.setFormatSpecifier(FormatSpecifier),ComponentPackage.getDial_FormatSpecifier()
-
basicSetFormatSpecifier
public org.eclipse.emf.common.notify.NotificationChain basicSetFormatSpecifier(FormatSpecifier newFormatSpecifier, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setFormatSpecifier
public void setFormatSpecifier(FormatSpecifier newFormatSpecifier)
- Specified by:
setFormatSpecifierin interfaceDial- Parameters:
newFormatSpecifier- the new value of the 'Format Specifier' containment reference.- See Also:
Dial.getFormatSpecifier()
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
create
public static final Dial create()
- Returns:
- dial instance with setting 'isSet' flag.
-
createDefault
public static final Dial createDefault()
- Returns:
- dial instance without setting 'isSet' flag.
-
copyInstance
public Dial copyInstance()
- Specified by:
copyInstancein interfaceDial- Specified by:
copyInstancein interfaceIChartObject
-
-