Class PieSeriesImpl
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.SeriesImpl
org.eclipse.birt.chart.model.type.impl.PieSeriesImpl
- All Implemented Interfaces:
Series
,IChartObject
,PieSeries
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object ' Pie
Series'.
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 Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
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
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChain
basicSetLeaderLineAttributes
(LineAttributes newLeaderLineAttributes, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetSliceOutline
(ColorDefinition newSliceOutline, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetTitle
(Label newTitle, org.eclipse.emf.common.notify.NotificationChain msgs) static final Series
create()
A convenience method to create an initialized 'Series' instancestatic final Series
A convenience method to create an initialized 'Series' instanceeGet
(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChain
eInverseRemove
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) boolean
eIsSet
(int featureID) void
void
eUnset
(int featureID) This method should return a user-friendly name for the series type.int
double
org.eclipse.birt.chart.util.NameSet
getLabelPositionScope
(ChartDimension dimension) Returns supported label positions scope in current series.double
double
getRatio()
double
getTitle()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setClockwise
(boolean newClockwise) void
setExplosion
(int newExplosion) void
setExplosionExpression
(String newExplosionExpression) void
setInnerRadius
(double newInnerRadius) void
setInnerRadiusPercent
(boolean newInnerRadiusPercent) void
setLeaderLineAttributes
(LineAttributes newLeaderLineAttributes) void
setLeaderLineLength
(double newLeaderLineLength) void
setLeaderLineStyle
(LeaderLineStyle newLeaderLineStyle) void
setRatio
(double newRatio) void
setRotation
(double newRotation) void
setSliceOutline
(ColorDefinition newSliceOutline) void
void
setTitlePosition
(Position newTitlePosition) toString()
void
void
void
void
void
void
void
void
void
Methods inherited from class org.eclipse.birt.chart.model.component.impl.SeriesImpl
basicSetCursor, basicSetCurveFitting, basicSetDataPoint, basicSetLabel, canBeStacked, canParticipateInCombination, canShareAxisUnit, getCursor, getCurveFitting, getDataDefinition, getDataPoint, getDataSet, getDataSet, getDataSets, getDefinedDataDefinitionIndex, getLabel, getLabelPosition, getSeriesIdentifier, getTriggers, isSetLabelPosition, isSetStacked, isSetTranslucent, isSetVisible, isSingleCache, isStacked, isTranslucent, isVisible, setCursor, setCurveFitting, setDataPoint, setDataSet, setDataSet, setLabel, setLabelPosition, setSeriesIdentifier, setStacked, setTranslucent, setVisible, translateFrom, unsetLabelPosition, unsetStacked, unsetTranslucent, unsetVisible
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
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.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface org.eclipse.birt.chart.model.component.Series
canBeStacked, canParticipateInCombination, canShareAxisUnit, getCursor, getCurveFitting, getDataDefinition, getDataPoint, getDataSet, getDataSet, getDataSets, getDefinedDataDefinitionIndex, getLabel, getLabelPosition, getSeriesIdentifier, getTriggers, isSetLabelPosition, isSetStacked, isSetTranslucent, isSetVisible, isSingleCache, isStacked, isTranslucent, isVisible, setCursor, setCurveFitting, setDataPoint, setDataSet, setDataSet, setLabel, setLabelPosition, setSeriesIdentifier, setStacked, setTranslucent, setVisible, translateFrom, unsetLabelPosition, unsetStacked, unsetTranslucent, unsetVisible
-
Method Details
-
getExplosion
public int getExplosion()- Specified by:
getExplosion
in interfacePieSeries
- Returns:
- the value of the 'Explosion' attribute.
- See Also:
-
setExplosion
public void setExplosion(int newExplosion) - Specified by:
setExplosion
in interfacePieSeries
- Parameters:
newExplosion
- the new value of the 'Explosion' attribute.- See Also:
-
unsetExplosion
public void unsetExplosion()- Specified by:
unsetExplosion
in interfacePieSeries
- See Also:
-
isSetExplosion
public boolean isSetExplosion()- Specified by:
isSetExplosion
in interfacePieSeries
- Returns:
- whether the value of the 'Explosion' attribute is set.
- See Also:
-
getExplosionExpression
- Specified by:
getExplosionExpression
in interfacePieSeries
- Returns:
- the value of the 'Explosion Expression' attribute.
- See Also:
-
setExplosionExpression
- Specified by:
setExplosionExpression
in interfacePieSeries
- Parameters:
newExplosionExpression
- the new value of the 'Explosion Expression' attribute.- See Also:
-
getTitle
-
basicSetTitle
public org.eclipse.emf.common.notify.NotificationChain basicSetTitle(Label newTitle, org.eclipse.emf.common.notify.NotificationChain msgs) -
setTitle
-
getTitlePosition
- Specified by:
getTitlePosition
in interfacePieSeries
- Returns:
- the value of the 'Title Position' attribute.
- See Also:
-
setTitlePosition
- Specified by:
setTitlePosition
in interfacePieSeries
- Parameters:
newTitlePosition
- the new value of the 'Title Position' attribute.- See Also:
-
unsetTitlePosition
public void unsetTitlePosition()- Specified by:
unsetTitlePosition
in interfacePieSeries
- See Also:
-
isSetTitlePosition
public boolean isSetTitlePosition()- Specified by:
isSetTitlePosition
in interfacePieSeries
- Returns:
- whether the value of the 'Title Position' attribute is set.
- See Also:
-
getLeaderLineAttributes
- Specified by:
getLeaderLineAttributes
in interfacePieSeries
- Returns:
- the value of the 'Leader Line Attributes' containment reference.
- See Also:
-
basicSetLeaderLineAttributes
public org.eclipse.emf.common.notify.NotificationChain basicSetLeaderLineAttributes(LineAttributes newLeaderLineAttributes, org.eclipse.emf.common.notify.NotificationChain msgs) -
setLeaderLineAttributes
- Specified by:
setLeaderLineAttributes
in interfacePieSeries
- Parameters:
newLeaderLineAttributes
- the new value of the 'Leader Line Attributes' containment reference.- See Also:
-
getLeaderLineStyle
- Specified by:
getLeaderLineStyle
in interfacePieSeries
- Returns:
- the value of the 'Leader Line Style' attribute.
- See Also:
-
setLeaderLineStyle
- Specified by:
setLeaderLineStyle
in interfacePieSeries
- Parameters:
newLeaderLineStyle
- the new value of the 'Leader Line Style' attribute.- See Also:
-
unsetLeaderLineStyle
public void unsetLeaderLineStyle()- Specified by:
unsetLeaderLineStyle
in interfacePieSeries
- See Also:
-
isSetLeaderLineStyle
public boolean isSetLeaderLineStyle()- Specified by:
isSetLeaderLineStyle
in interfacePieSeries
- Returns:
- whether the value of the 'Leader Line Style' attribute is set.
- See Also:
-
getLeaderLineLength
public double getLeaderLineLength()- Specified by:
getLeaderLineLength
in interfacePieSeries
- Returns:
- the value of the 'Leader Line Length' attribute.
- See Also:
-
setLeaderLineLength
public void setLeaderLineLength(double newLeaderLineLength) - Specified by:
setLeaderLineLength
in interfacePieSeries
- Parameters:
newLeaderLineLength
- the new value of the 'Leader Line Length' attribute.- See Also:
-
unsetLeaderLineLength
public void unsetLeaderLineLength()- Specified by:
unsetLeaderLineLength
in interfacePieSeries
- See Also:
-
isSetLeaderLineLength
public boolean isSetLeaderLineLength()- Specified by:
isSetLeaderLineLength
in interfacePieSeries
- Returns:
- whether the value of the 'Leader Line Length' attribute is set.
- See Also:
-
getSliceOutline
- Specified by:
getSliceOutline
in interfacePieSeries
- Returns:
- the value of the 'Slice Outline' containment reference.
- See Also:
-
basicSetSliceOutline
public org.eclipse.emf.common.notify.NotificationChain basicSetSliceOutline(ColorDefinition newSliceOutline, org.eclipse.emf.common.notify.NotificationChain msgs) -
setSliceOutline
- Specified by:
setSliceOutline
in interfacePieSeries
- Parameters:
newSliceOutline
- the new value of the 'Slice Outline' containment reference.- See Also:
-
getRatio
public double getRatio() -
setRatio
public void setRatio(double newRatio) -
unsetRatio
public void unsetRatio()- Specified by:
unsetRatio
in interfacePieSeries
- See Also:
-
isSetRatio
public boolean isSetRatio()- Specified by:
isSetRatio
in interfacePieSeries
- Returns:
- whether the value of the 'Ratio' attribute is set.
- See Also:
-
getRotation
public double getRotation()- Specified by:
getRotation
in interfacePieSeries
- Returns:
- the value of the 'Rotation' attribute.
- See Also:
-
setRotation
public void setRotation(double newRotation) - Specified by:
setRotation
in interfacePieSeries
- Parameters:
newRotation
- the new value of the 'Rotation' attribute.- See Also:
-
unsetRotation
public void unsetRotation()- Specified by:
unsetRotation
in interfacePieSeries
- See Also:
-
isSetRotation
public boolean isSetRotation()- Specified by:
isSetRotation
in interfacePieSeries
- Returns:
- whether the value of the 'Rotation' attribute is set.
- See Also:
-
isClockwise
public boolean isClockwise()- Specified by:
isClockwise
in interfacePieSeries
- Returns:
- the value of the 'Clockwise' attribute.
- See Also:
-
setClockwise
public void setClockwise(boolean newClockwise) - Specified by:
setClockwise
in interfacePieSeries
- Parameters:
newClockwise
- the new value of the 'Clockwise' attribute.- See Also:
-
unsetClockwise
public void unsetClockwise()- Specified by:
unsetClockwise
in interfacePieSeries
- See Also:
-
isSetClockwise
public boolean isSetClockwise()- Specified by:
isSetClockwise
in interfacePieSeries
- Returns:
- whether the value of the 'Clockwise' attribute is set.
- See Also:
-
getInnerRadius
public double getInnerRadius()- Specified by:
getInnerRadius
in interfacePieSeries
- Returns:
- the value of the 'Inner Radius' attribute.
- See Also:
-
setInnerRadius
public void setInnerRadius(double newInnerRadius) - Specified by:
setInnerRadius
in interfacePieSeries
- Parameters:
newInnerRadius
- the new value of the 'Inner Radius' attribute.- See Also:
-
unsetInnerRadius
public void unsetInnerRadius()- Specified by:
unsetInnerRadius
in interfacePieSeries
- See Also:
-
isSetInnerRadius
public boolean isSetInnerRadius()- Specified by:
isSetInnerRadius
in interfacePieSeries
- Returns:
- whether the value of the 'Inner Radius' attribute is set.
- See Also:
-
isInnerRadiusPercent
public boolean isInnerRadiusPercent()- Specified by:
isInnerRadiusPercent
in interfacePieSeries
- Returns:
- the value of the 'Inner Radius Percent' attribute.
- See Also:
-
setInnerRadiusPercent
public void setInnerRadiusPercent(boolean newInnerRadiusPercent) - Specified by:
setInnerRadiusPercent
in interfacePieSeries
- Parameters:
newInnerRadiusPercent
- the new value of the 'Inner Radius Percent' attribute.- See Also:
-
unsetInnerRadiusPercent
public void unsetInnerRadiusPercent()- Specified by:
unsetInnerRadiusPercent
in interfacePieSeries
- See Also:
-
isSetInnerRadiusPercent
public boolean isSetInnerRadiusPercent()- Specified by:
isSetInnerRadiusPercent
in interfacePieSeries
- Returns:
- whether the value of the 'Inner Radius Percent' attribute is set.
- See Also:
-
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:
eInverseRemove
in classSeriesImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classSeriesImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classSeriesImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classSeriesImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classSeriesImpl
-
toString
- Overrides:
toString
in classSeriesImpl
-
create
A convenience method to create an initialized 'Series' instance- Returns:
- series instance
-
createDefault
A convenience method to create an initialized 'Series' instance- Returns:
- series instance
-
getDisplayName
Description copied from interface:Series
This method should return a user-friendly name for the series type. NOTE: Manually written- Specified by:
getDisplayName
in interfaceSeries
- Overrides:
getDisplayName
in classSeriesImpl
- Returns:
- display name for the series type
-
copyInstance
- Specified by:
copyInstance
in interfaceIChartObject
- Specified by:
copyInstance
in interfacePieSeries
- Specified by:
copyInstance
in interfaceSeries
- Overrides:
copyInstance
in classSeriesImpl
-
getLabelPositionScope
Description copied from interface:Series
Returns supported label positions scope in current series. Label position set in series must be in one of these types.- Specified by:
getLabelPositionScope
in interfaceSeries
- Overrides:
getLabelPositionScope
in classSeriesImpl
- Parameters:
dimension
- chart dimension- Returns:
- NameSet with supported label positions.
-