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

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

public class StockSeriesImpl
extends SeriesImpl
implements StockSeries

An implementation of the model object ' Stock Series'.

The following features are implemented:


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class 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.birt.chart.model.component.Series
EMPTY_ARRAY
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetFill(Fill newFill, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetLineAttributes(LineAttributes newLineAttributes, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean canParticipateInCombination()
          This method should return true if the series type can be used in a combination chart.
 boolean canShareAxisUnit()
          Indicates if this series graphic element may share a scale unit with other similar elements.
static Series create()
          A convenience method to create an initialized 'Series' instance NOTE: Manually written
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 java.lang.String getDisplayName()
          This method should return a user-friendly name for the series type.
 Fill getFill()
           
 LineAttributes getLineAttributes()
           
 void setFill(Fill newFill)
           
 void setLineAttributes(LineAttributes newLineAttributes)
           
 void translateFrom(Series series, int iSeriesDefinitionIndex, Chart chart)
          This method should modify the series instance to extract whatever information it can from the series provided...updating the model if necessary.
 
Methods inherited from class org.eclipse.birt.chart.model.component.impl.SeriesImpl
basicSetCurveFitting, basicSetDataPoint, basicSetLabel, canBeStacked, getCurveFitting, getDataDefinition, getDataPoint, getDataSet, getDataSet, getDataSets, getLabel, getLabelPosition, getSeriesIdentifier, getTriggers, isSetLabelPosition, isSetStacked, isSetTranslucent, isSetVisible, isStacked, isTranslucent, isVisible, setCurveFitting, setDataPoint, setDataSet, setDataSet, setLabel, setLabelPosition, setSeriesIdentifier, setStacked, setTranslucent, setVisible, toString, unsetLabelPosition, unsetStacked, unsetTranslucent, unsetVisible
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eInverseAdd, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 
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, getCurveFitting, getDataDefinition, getDataPoint, getDataSet, getDataSet, getDataSets, getLabel, getLabelPosition, getSeriesIdentifier, getTriggers, isSetLabelPosition, isSetStacked, isSetTranslucent, isSetVisible, isStacked, isTranslucent, isVisible, setCurveFitting, setDataPoint, setDataSet, setDataSet, setLabel, setLabelPosition, setSeriesIdentifier, setStacked, setTranslucent, setVisible, unsetLabelPosition, unsetStacked, unsetTranslucent, unsetVisible
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
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

getFill

public Fill getFill()

Specified by:
getFill in interface StockSeries
Returns:
the value of the 'Fill' containment reference.
See Also:
StockSeries.setFill(Fill), TypePackage.getStockSeries_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:
setFill in interface StockSeries
Parameters:
newFill - the new value of the 'Fill' containment reference.
See Also:
StockSeries.getFill()

getLineAttributes

public LineAttributes getLineAttributes()

Specified by:
getLineAttributes in interface StockSeries
Returns:
the value of the 'Line Attributes' containment reference.
See Also:
StockSeries.setLineAttributes(LineAttributes), TypePackage.getStockSeries_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:
setLineAttributes in interface StockSeries
Parameters:
newLineAttributes - the new value of the 'Line Attributes' containment reference.
See Also:
StockSeries.getLineAttributes()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      java.lang.Class baseClass,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

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

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)

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

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)

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

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

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

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

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

canParticipateInCombination

public final boolean canParticipateInCombination()
Description copied from interface: Series
This method should return true if the series type can be used in a combination chart. NOTE: Manually written

Specified by:
canParticipateInCombination in interface Series
Overrides:
canParticipateInCombination in class SeriesImpl

translateFrom

public void translateFrom(Series series,
                          int iSeriesDefinitionIndex,
                          Chart chart)
Description copied from interface: Series
This method should modify the series instance to extract whatever information it can from the series provided...updating the model if necessary. This method should be overridden by each series type implementation in particular if the series type can participate in a combination. It will be called when converting from one series type to another. The iSeriesDefinitionIndex value is the index of the series definition among all series definitions at the same level (base or orthogonal) NOTE: Manually written

Specified by:
translateFrom in interface Series
Overrides:
translateFrom in class SeriesImpl

canShareAxisUnit

public boolean canShareAxisUnit()
Description copied from interface: Series
Indicates if this series graphic element may share a scale unit with other similar elements. NOTE: Manually written

Specified by:
canShareAxisUnit in interface Series
Overrides:
canShareAxisUnit in class SeriesImpl

create

public static final Series create()
A convenience method to create an initialized 'Series' instance NOTE: Manually written


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


Copyright © 2005 Actuate Corp. All rights reserved.