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.EScannableAdapterListNested 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_FLAGFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChainbasicSetLeaderLineAttributes(LineAttributes newLeaderLineAttributes, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetSliceOutline(ColorDefinition newSliceOutline, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetTitle(Label newTitle, org.eclipse.emf.common.notify.NotificationChain msgs) static final Seriescreate()A convenience method to create an initialized 'Series' instancestatic final SeriesA convenience method to create an initialized 'Series' instanceeGet(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) voidvoideUnset(int featureID) This method should return a user-friendly name for the series type.intdoubleorg.eclipse.birt.chart.util.NameSetgetLabelPositionScope(ChartDimension dimension) Returns supported label positions scope in current series.doubledoublegetRatio()doublegetTitle()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetClockwise(boolean newClockwise) voidsetExplosion(int newExplosion) voidsetExplosionExpression(String newExplosionExpression) voidsetInnerRadius(double newInnerRadius) voidsetInnerRadiusPercent(boolean newInnerRadiusPercent) voidsetLeaderLineAttributes(LineAttributes newLeaderLineAttributes) voidsetLeaderLineLength(double newLeaderLineLength) voidsetLeaderLineStyle(LeaderLineStyle newLeaderLineStyle) voidsetRatio(double newRatio) voidsetRotation(double newRotation) voidsetSliceOutline(ColorDefinition newSliceOutline) voidvoidsetTitlePosition(Position newTitlePosition) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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, unsetVisibleMethods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIMethods 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, eVirtualUnsetMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods 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:
getExplosionin interfacePieSeries- Returns:
- the value of the 'Explosion' attribute.
- See Also:
-
setExplosion
public void setExplosion(int newExplosion) - Specified by:
setExplosionin interfacePieSeries- Parameters:
newExplosion- the new value of the 'Explosion' attribute.- See Also:
-
unsetExplosion
public void unsetExplosion()- Specified by:
unsetExplosionin interfacePieSeries- See Also:
-
isSetExplosion
public boolean isSetExplosion()- Specified by:
isSetExplosionin interfacePieSeries- Returns:
- whether the value of the 'Explosion' attribute is set.
- See Also:
-
getExplosionExpression
- Specified by:
getExplosionExpressionin interfacePieSeries- Returns:
- the value of the 'Explosion Expression' attribute.
- See Also:
-
setExplosionExpression
- Specified by:
setExplosionExpressionin 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:
getTitlePositionin interfacePieSeries- Returns:
- the value of the 'Title Position' attribute.
- See Also:
-
setTitlePosition
- Specified by:
setTitlePositionin interfacePieSeries- Parameters:
newTitlePosition- the new value of the 'Title Position' attribute.- See Also:
-
unsetTitlePosition
public void unsetTitlePosition()- Specified by:
unsetTitlePositionin interfacePieSeries- See Also:
-
isSetTitlePosition
public boolean isSetTitlePosition()- Specified by:
isSetTitlePositionin interfacePieSeries- Returns:
- whether the value of the 'Title Position' attribute is set.
- See Also:
-
getLeaderLineAttributes
- Specified by:
getLeaderLineAttributesin 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:
setLeaderLineAttributesin interfacePieSeries- Parameters:
newLeaderLineAttributes- the new value of the 'Leader Line Attributes' containment reference.- See Also:
-
getLeaderLineStyle
- Specified by:
getLeaderLineStylein interfacePieSeries- Returns:
- the value of the 'Leader Line Style' attribute.
- See Also:
-
setLeaderLineStyle
- Specified by:
setLeaderLineStylein interfacePieSeries- Parameters:
newLeaderLineStyle- the new value of the 'Leader Line Style' attribute.- See Also:
-
unsetLeaderLineStyle
public void unsetLeaderLineStyle()- Specified by:
unsetLeaderLineStylein interfacePieSeries- See Also:
-
isSetLeaderLineStyle
public boolean isSetLeaderLineStyle()- Specified by:
isSetLeaderLineStylein interfacePieSeries- Returns:
- whether the value of the 'Leader Line Style' attribute is set.
- See Also:
-
getLeaderLineLength
public double getLeaderLineLength()- Specified by:
getLeaderLineLengthin interfacePieSeries- Returns:
- the value of the 'Leader Line Length' attribute.
- See Also:
-
setLeaderLineLength
public void setLeaderLineLength(double newLeaderLineLength) - Specified by:
setLeaderLineLengthin interfacePieSeries- Parameters:
newLeaderLineLength- the new value of the 'Leader Line Length' attribute.- See Also:
-
unsetLeaderLineLength
public void unsetLeaderLineLength()- Specified by:
unsetLeaderLineLengthin interfacePieSeries- See Also:
-
isSetLeaderLineLength
public boolean isSetLeaderLineLength()- Specified by:
isSetLeaderLineLengthin interfacePieSeries- Returns:
- whether the value of the 'Leader Line Length' attribute is set.
- See Also:
-
getSliceOutline
- Specified by:
getSliceOutlinein 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:
setSliceOutlinein 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:
unsetRatioin interfacePieSeries- See Also:
-
isSetRatio
public boolean isSetRatio()- Specified by:
isSetRatioin interfacePieSeries- Returns:
- whether the value of the 'Ratio' attribute is set.
- See Also:
-
getRotation
public double getRotation()- Specified by:
getRotationin interfacePieSeries- Returns:
- the value of the 'Rotation' attribute.
- See Also:
-
setRotation
public void setRotation(double newRotation) - Specified by:
setRotationin interfacePieSeries- Parameters:
newRotation- the new value of the 'Rotation' attribute.- See Also:
-
unsetRotation
public void unsetRotation()- Specified by:
unsetRotationin interfacePieSeries- See Also:
-
isSetRotation
public boolean isSetRotation()- Specified by:
isSetRotationin interfacePieSeries- Returns:
- whether the value of the 'Rotation' attribute is set.
- See Also:
-
isClockwise
public boolean isClockwise()- Specified by:
isClockwisein interfacePieSeries- Returns:
- the value of the 'Clockwise' attribute.
- See Also:
-
setClockwise
public void setClockwise(boolean newClockwise) - Specified by:
setClockwisein interfacePieSeries- Parameters:
newClockwise- the new value of the 'Clockwise' attribute.- See Also:
-
unsetClockwise
public void unsetClockwise()- Specified by:
unsetClockwisein interfacePieSeries- See Also:
-
isSetClockwise
public boolean isSetClockwise()- Specified by:
isSetClockwisein interfacePieSeries- Returns:
- whether the value of the 'Clockwise' attribute is set.
- See Also:
-
getInnerRadius
public double getInnerRadius()- Specified by:
getInnerRadiusin interfacePieSeries- Returns:
- the value of the 'Inner Radius' attribute.
- See Also:
-
setInnerRadius
public void setInnerRadius(double newInnerRadius) - Specified by:
setInnerRadiusin interfacePieSeries- Parameters:
newInnerRadius- the new value of the 'Inner Radius' attribute.- See Also:
-
unsetInnerRadius
public void unsetInnerRadius()- Specified by:
unsetInnerRadiusin interfacePieSeries- See Also:
-
isSetInnerRadius
public boolean isSetInnerRadius()- Specified by:
isSetInnerRadiusin interfacePieSeries- Returns:
- whether the value of the 'Inner Radius' attribute is set.
- See Also:
-
isInnerRadiusPercent
public boolean isInnerRadiusPercent()- Specified by:
isInnerRadiusPercentin interfacePieSeries- Returns:
- the value of the 'Inner Radius Percent' attribute.
- See Also:
-
setInnerRadiusPercent
public void setInnerRadiusPercent(boolean newInnerRadiusPercent) - Specified by:
setInnerRadiusPercentin interfacePieSeries- Parameters:
newInnerRadiusPercent- the new value of the 'Inner Radius Percent' attribute.- See Also:
-
unsetInnerRadiusPercent
public void unsetInnerRadiusPercent()- Specified by:
unsetInnerRadiusPercentin interfacePieSeries- See Also:
-
isSetInnerRadiusPercent
public boolean isSetInnerRadiusPercent()- Specified by:
isSetInnerRadiusPercentin 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:
eInverseRemovein classSeriesImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classSeriesImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classSeriesImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classSeriesImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classSeriesImpl
-
toString
- Overrides:
toStringin 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:SeriesThis method should return a user-friendly name for the series type. NOTE: Manually written- Specified by:
getDisplayNamein interfaceSeries- Overrides:
getDisplayNamein classSeriesImpl- Returns:
- display name for the series type
-
copyInstance
- Specified by:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfacePieSeries- Specified by:
copyInstancein interfaceSeries- Overrides:
copyInstancein classSeriesImpl
-
getLabelPositionScope
Description copied from interface:SeriesReturns supported label positions scope in current series. Label position set in series must be in one of these types.- Specified by:
getLabelPositionScopein interfaceSeries- Overrides:
getLabelPositionScopein classSeriesImpl- Parameters:
dimension- chart dimension- Returns:
- NameSet with supported label positions.
-