org.eclipse.birt.chart.model.type.impl
Class PieSeriesImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.birt.chart.model.component.impl.SeriesImpl
                  extended by org.eclipse.birt.chart.model.type.impl.PieSeriesImpl
All Implemented Interfaces:
Series, PieSeries, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class PieSeriesImpl
extends SeriesImpl
implements PieSeries

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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
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
 org.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)
           
 PieSeries copyInstance()
          A convenient method to get an instance copy.
static Series create()
          A convenience method to create an initialized 'Series' instance
static PieSeries create(org.eclipse.emf.ecore.EObject parent, org.eclipse.emf.ecore.EReference ref)
           
 java.lang.Object eGet(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 eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String getDisplayName()
          This method should return a user-friendly name for the series type.
 int getExplosion()
           
 java.lang.String getExplosionExpression()
           
 LineAttributes getLeaderLineAttributes()
           
 double getLeaderLineLength()
           
 LeaderLineStyle getLeaderLineStyle()
           
 double getRatio()
           
 double getRotation()
           
 ColorDefinition getSliceOutline()
           
 Label getTitle()
           
 Position getTitlePosition()
           
 boolean isSetExplosion()
           
 boolean isSetLeaderLineLength()
           
 boolean isSetLeaderLineStyle()
           
 boolean isSetRatio()
           
 boolean isSetRotation()
           
 boolean isSetTitlePosition()
           
 void setExplosion(int newExplosion)
           
 void setExplosionExpression(java.lang.String newExplosionExpression)
           
 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 setTitle(Label newTitle)
           
 void setTitlePosition(Position newTitlePosition)
           
 java.lang.String toString()
           
 void unsetExplosion()
           
 void unsetLeaderLineLength()
           
 void unsetLeaderLineStyle()
           
 void unsetRatio()
           
 void unsetRotation()
           
 void unsetTitlePosition()
           
 
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, 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, 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, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, 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.birt.chart.model.component.Series
canBeStacked, canParticipateInCombination, canShareAxisUnit, getCursor, getCurveFitting, getDataDefinition, getDataPoint, getDataSet, getDataSet, getDataSets, 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 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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getExplosion

public int getExplosion()

Specified by:
getExplosion in interface PieSeries
Returns:
the value of the 'Explosion' attribute.
See Also:
PieSeries.isSetExplosion(), PieSeries.unsetExplosion(), PieSeries.setExplosion(int), TypePackage.getPieSeries_Explosion()

setExplosion

public void setExplosion(int newExplosion)

Specified by:
setExplosion in interface PieSeries
Parameters:
newExplosion - the new value of the 'Explosion' attribute.
See Also:
PieSeries.isSetExplosion(), PieSeries.unsetExplosion(), PieSeries.getExplosion()

unsetExplosion

public void unsetExplosion()

Specified by:
unsetExplosion in interface PieSeries
See Also:
PieSeries.isSetExplosion(), PieSeries.getExplosion(), PieSeries.setExplosion(int)

isSetExplosion

public boolean isSetExplosion()

Specified by:
isSetExplosion in interface PieSeries
Returns:
whether the value of the 'Explosion' attribute is set.
See Also:
PieSeries.unsetExplosion(), PieSeries.getExplosion(), PieSeries.setExplosion(int)

getExplosionExpression

public java.lang.String getExplosionExpression()

Specified by:
getExplosionExpression in interface PieSeries
Returns:
the value of the 'Explosion Expression' attribute.
See Also:
PieSeries.setExplosionExpression(String), TypePackage.getPieSeries_ExplosionExpression()

setExplosionExpression

public void setExplosionExpression(java.lang.String newExplosionExpression)

Specified by:
setExplosionExpression in interface PieSeries
Parameters:
newExplosionExpression - the new value of the 'Explosion Expression' attribute.
See Also:
PieSeries.getExplosionExpression()

getTitle

public Label getTitle()

Specified by:
getTitle in interface PieSeries
Returns:
the value of the 'Title' containment reference.
See Also:
PieSeries.setTitle(Label), TypePackage.getPieSeries_Title()

basicSetTitle

public org.eclipse.emf.common.notify.NotificationChain basicSetTitle(Label newTitle,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setTitle

public void setTitle(Label newTitle)

Specified by:
setTitle in interface PieSeries
Parameters:
newTitle - the new value of the 'Title' containment reference.
See Also:
PieSeries.getTitle()

getTitlePosition

public Position getTitlePosition()

Specified by:
getTitlePosition in interface PieSeries
Returns:
the value of the 'Title Position' attribute.
See Also:
Position, PieSeries.isSetTitlePosition(), PieSeries.unsetTitlePosition(), PieSeries.setTitlePosition(Position), TypePackage.getPieSeries_TitlePosition()

setTitlePosition

public void setTitlePosition(Position newTitlePosition)

Specified by:
setTitlePosition in interface PieSeries
Parameters:
newTitlePosition - the new value of the 'Title Position' attribute.
See Also:
Position, PieSeries.isSetTitlePosition(), PieSeries.unsetTitlePosition(), PieSeries.getTitlePosition()

unsetTitlePosition

public void unsetTitlePosition()

Specified by:
unsetTitlePosition in interface PieSeries
See Also:
PieSeries.isSetTitlePosition(), PieSeries.getTitlePosition(), PieSeries.setTitlePosition(Position)

isSetTitlePosition

public boolean isSetTitlePosition()

Specified by:
isSetTitlePosition in interface PieSeries
Returns:
whether the value of the 'Title Position' attribute is set.
See Also:
PieSeries.unsetTitlePosition(), PieSeries.getTitlePosition(), PieSeries.setTitlePosition(Position)

getLeaderLineAttributes

public LineAttributes getLeaderLineAttributes()

Specified by:
getLeaderLineAttributes in interface PieSeries
Returns:
the value of the 'Leader Line Attributes' containment reference.
See Also:
PieSeries.setLeaderLineAttributes(LineAttributes), TypePackage.getPieSeries_LeaderLineAttributes()

basicSetLeaderLineAttributes

public org.eclipse.emf.common.notify.NotificationChain basicSetLeaderLineAttributes(LineAttributes newLeaderLineAttributes,
                                                                                    org.eclipse.emf.common.notify.NotificationChain msgs)


setLeaderLineAttributes

public void setLeaderLineAttributes(LineAttributes newLeaderLineAttributes)

Specified by:
setLeaderLineAttributes in interface PieSeries
Parameters:
newLeaderLineAttributes - the new value of the 'Leader Line Attributes' containment reference.
See Also:
PieSeries.getLeaderLineAttributes()

getLeaderLineStyle

public LeaderLineStyle getLeaderLineStyle()

Specified by:
getLeaderLineStyle in interface PieSeries
Returns:
the value of the 'Leader Line Style' attribute.
See Also:
LeaderLineStyle, PieSeries.isSetLeaderLineStyle(), PieSeries.unsetLeaderLineStyle(), PieSeries.setLeaderLineStyle(LeaderLineStyle), TypePackage.getPieSeries_LeaderLineStyle()

setLeaderLineStyle

public void setLeaderLineStyle(LeaderLineStyle newLeaderLineStyle)

Specified by:
setLeaderLineStyle in interface PieSeries
Parameters:
newLeaderLineStyle - the new value of the 'Leader Line Style' attribute.
See Also:
LeaderLineStyle, PieSeries.isSetLeaderLineStyle(), PieSeries.unsetLeaderLineStyle(), PieSeries.getLeaderLineStyle()

unsetLeaderLineStyle

public void unsetLeaderLineStyle()

Specified by:
unsetLeaderLineStyle in interface PieSeries
See Also:
PieSeries.isSetLeaderLineStyle(), PieSeries.getLeaderLineStyle(), PieSeries.setLeaderLineStyle(LeaderLineStyle)

isSetLeaderLineStyle

public boolean isSetLeaderLineStyle()

Specified by:
isSetLeaderLineStyle in interface PieSeries
Returns:
whether the value of the 'Leader Line Style' attribute is set.
See Also:
PieSeries.unsetLeaderLineStyle(), PieSeries.getLeaderLineStyle(), PieSeries.setLeaderLineStyle(LeaderLineStyle)

getLeaderLineLength

public double getLeaderLineLength()

Specified by:
getLeaderLineLength in interface PieSeries
Returns:
the value of the 'Leader Line Length' attribute.
See Also:
PieSeries.isSetLeaderLineLength(), PieSeries.unsetLeaderLineLength(), PieSeries.setLeaderLineLength(double), TypePackage.getPieSeries_LeaderLineLength()

setLeaderLineLength

public void setLeaderLineLength(double newLeaderLineLength)

Specified by:
setLeaderLineLength in interface PieSeries
Parameters:
newLeaderLineLength - the new value of the 'Leader Line Length' attribute.
See Also:
PieSeries.isSetLeaderLineLength(), PieSeries.unsetLeaderLineLength(), PieSeries.getLeaderLineLength()

unsetLeaderLineLength

public void unsetLeaderLineLength()

Specified by:
unsetLeaderLineLength in interface PieSeries
See Also:
PieSeries.isSetLeaderLineLength(), PieSeries.getLeaderLineLength(), PieSeries.setLeaderLineLength(double)

isSetLeaderLineLength

public boolean isSetLeaderLineLength()

Specified by:
isSetLeaderLineLength in interface PieSeries
Returns:
whether the value of the 'Leader Line Length' attribute is set.
See Also:
PieSeries.unsetLeaderLineLength(), PieSeries.getLeaderLineLength(), PieSeries.setLeaderLineLength(double)

getSliceOutline

public ColorDefinition getSliceOutline()

Specified by:
getSliceOutline in interface PieSeries
Returns:
the value of the 'Slice Outline' containment reference.
See Also:
PieSeries.setSliceOutline(ColorDefinition), TypePackage.getPieSeries_SliceOutline()

basicSetSliceOutline

public org.eclipse.emf.common.notify.NotificationChain basicSetSliceOutline(ColorDefinition newSliceOutline,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)


setSliceOutline

public void setSliceOutline(ColorDefinition newSliceOutline)

Specified by:
setSliceOutline in interface PieSeries
Parameters:
newSliceOutline - the new value of the 'Slice Outline' containment reference.
See Also:
PieSeries.getSliceOutline()

getRatio

public double getRatio()

Specified by:
getRatio in interface PieSeries
Returns:
the value of the 'Ratio' attribute.
See Also:
PieSeries.isSetRatio(), PieSeries.unsetRatio(), PieSeries.setRatio(double), TypePackage.getPieSeries_Ratio()

setRatio

public void setRatio(double newRatio)

Specified by:
setRatio in interface PieSeries
Parameters:
newRatio - the new value of the 'Ratio' attribute.
See Also:
PieSeries.isSetRatio(), PieSeries.unsetRatio(), PieSeries.getRatio()

unsetRatio

public void unsetRatio()

Specified by:
unsetRatio in interface PieSeries
See Also:
PieSeries.isSetRatio(), PieSeries.getRatio(), PieSeries.setRatio(double)

isSetRatio

public boolean isSetRatio()

Specified by:
isSetRatio in interface PieSeries
Returns:
whether the value of the 'Ratio' attribute is set.
See Also:
PieSeries.unsetRatio(), PieSeries.getRatio(), PieSeries.setRatio(double)

getRotation

public double getRotation()

Specified by:
getRotation in interface PieSeries
Returns:
the value of the 'Rotation' attribute.
See Also:
PieSeries.isSetRotation(), PieSeries.unsetRotation(), PieSeries.setRotation(double), TypePackage.getPieSeries_Rotation()

setRotation

public void setRotation(double newRotation)

Specified by:
setRotation in interface PieSeries
Parameters:
newRotation - the new value of the 'Rotation' attribute.
See Also:
PieSeries.isSetRotation(), PieSeries.unsetRotation(), PieSeries.getRotation()

unsetRotation

public void unsetRotation()

Specified by:
unsetRotation in interface PieSeries
See Also:
PieSeries.isSetRotation(), PieSeries.getRotation(), PieSeries.setRotation(double)

isSetRotation

public boolean isSetRotation()

Specified by:
isSetRotation in interface PieSeries
Returns:
whether the value of the 'Rotation' attribute is set.
See Also:
PieSeries.unsetRotation(), PieSeries.getRotation(), PieSeries.setRotation(double)

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 class SeriesImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class SeriesImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class SeriesImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class SeriesImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class SeriesImpl

toString

public java.lang.String toString()

Overrides:
toString in class SeriesImpl

create

public static final Series create()
A convenience method to create an initialized 'Series' instance

Returns:

getDisplayName

public java.lang.String 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 interface Series
Overrides:
getDisplayName in class SeriesImpl
Returns:
display name for the series type

copyInstance

public PieSeries copyInstance()
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().

Specified by:
copyInstance in interface Series
Specified by:
copyInstance in interface PieSeries
Overrides:
copyInstance in class SeriesImpl

create

public static PieSeries create(org.eclipse.emf.ecore.EObject parent,
                               org.eclipse.emf.ecore.EReference ref)


Copyright © 2005-2008 Actuate Corp. All rights reserved.