Class SeriesImpl
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
- All Implemented Interfaces:
Series,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
BarSeriesImpl,DialSeriesImpl,GanttSeriesImpl,LineSeriesImpl,PieSeriesImpl,StockSeriesImpl
An implementation of the model object '
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.NotificationChainbasicSetCursor(Cursor newCursor, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetCurveFitting(CurveFitting newCurveFitting, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetDataPoint(DataPoint newDataPoint, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetLabel(Label newLabel, org.eclipse.emf.common.notify.NotificationChain msgs) booleanIndicates if this series type may be rendered stacked with other series instances of the same type NOTE: Manually writtenbooleanThis method should return true if the series type can be used in a combination chart.booleanIndicates if this series graphic element may share a scale unit with other similar elements.static Seriescreate()A convenience method to create an initialized 'Series' instancestatic 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) org.eclipse.emf.common.util.EList<Query>Returns the value dataSet.getDataSet(String userkey) Returns the user dataSet.int[]Returns the index array of data definitions which must be defined.This method should return a user-friendly name for the series type.getLabel()org.eclipse.birt.chart.util.NameSetgetLabelPositionScope(ChartDimension dimension) Returns supported label positions scope in current series.org.eclipse.emf.common.util.EList<Trigger>booleanbooleanbooleanbooleanbooleanThe method indicates if painting requests of series should be added to a single cache.booleanbooleanbooleanvoidvoidsetCurveFitting(CurveFitting newCurveFitting) voidsetDataPoint(DataPoint newDataPoint) voidsetDataSet(String userKey, DataSet newDataSet) Sets the user dataSet.voidsetDataSet(DataSet newDataSet) Sets the value dataSet.voidvoidsetLabelPosition(Position newLabelPosition) voidsetSeriesIdentifier(Object newSeriesIdentifier) voidsetStacked(boolean newStacked) voidsetTranslucent(boolean newTranslucent) voidsetVisible(boolean newVisible) toString()voidtranslateFrom(Series sourceSeries, 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.voidvoidvoidvoidMethods 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, eSetDeliver
-
Method Details
-
isVisible
public boolean isVisible() -
setVisible
public void setVisible(boolean newVisible) - Specified by:
setVisiblein interfaceSeries- Parameters:
newVisible- the new value of the 'Visible' attribute.- See Also:
-
unsetVisible
public void unsetVisible()- Specified by:
unsetVisiblein interfaceSeries- See Also:
-
isSetVisible
public boolean isSetVisible()- Specified by:
isSetVisiblein interfaceSeries- Returns:
- whether the value of the 'Visible' attribute is set.
- See Also:
-
getLabel
-
basicSetLabel
public org.eclipse.emf.common.notify.NotificationChain basicSetLabel(Label newLabel, org.eclipse.emf.common.notify.NotificationChain msgs) -
setLabel
-
getDataDefinition
- Specified by:
getDataDefinitionin interfaceSeries- Returns:
- the value of the 'Data Definition' containment reference list.
- See Also:
-
getSeriesIdentifier
- Specified by:
getSeriesIdentifierin interfaceSeries- Returns:
- the value of the 'Series Identifier' attribute.
- See Also:
-
setSeriesIdentifier
- Specified by:
setSeriesIdentifierin interfaceSeries- Parameters:
newSeriesIdentifier- the new value of the 'Series Identifier' attribute.- See Also:
-
getDataPoint
- Specified by:
getDataPointin interfaceSeries- Returns:
- the value of the 'Data Point' containment reference.
- See Also:
-
basicSetDataPoint
public org.eclipse.emf.common.notify.NotificationChain basicSetDataPoint(DataPoint newDataPoint, org.eclipse.emf.common.notify.NotificationChain msgs) -
setDataPoint
- Specified by:
setDataPointin interfaceSeries- Parameters:
newDataPoint- the new value of the 'Data Point' containment reference.- See Also:
-
getDataSets
- Specified by:
getDataSetsin interfaceSeries- Returns:
- the value of the 'Data Sets' map.
- See Also:
-
getDataSet
Description copied from interface:SeriesReturns the value dataSet.- Specified by:
getDataSetin interfaceSeries- Returns:
- value data set
-
setDataSet
Description copied from interface:SeriesSets the value dataSet.- Specified by:
setDataSetin interfaceSeries
-
getDataSet
Description copied from interface:SeriesReturns the user dataSet.- Specified by:
getDataSetin interfaceSeries- Returns:
- user data set
-
setDataSet
Description copied from interface:SeriesSets the user dataSet.- Specified by:
setDataSetin interfaceSeries
-
getLabelPosition
- Specified by:
getLabelPositionin interfaceSeries- Returns:
- the value of the 'Label Position' attribute.
- See Also:
-
setLabelPosition
- Specified by:
setLabelPositionin interfaceSeries- Parameters:
newLabelPosition- the new value of the 'Label Position' attribute.- See Also:
-
unsetLabelPosition
public void unsetLabelPosition()- Specified by:
unsetLabelPositionin interfaceSeries- See Also:
-
isSetLabelPosition
public boolean isSetLabelPosition()- Specified by:
isSetLabelPositionin interfaceSeries- Returns:
- whether the value of the 'Label Position' attribute is set.
- See Also:
-
isStacked
public boolean isStacked() -
setStacked
public void setStacked(boolean newStacked) - Specified by:
setStackedin interfaceSeries- Parameters:
newStacked- the new value of the 'Stacked' attribute.- See Also:
-
unsetStacked
public void unsetStacked()- Specified by:
unsetStackedin interfaceSeries- See Also:
-
isSetStacked
public boolean isSetStacked()- Specified by:
isSetStackedin interfaceSeries- Returns:
- whether the value of the 'Stacked' attribute is set.
- See Also:
-
getTriggers
- Specified by:
getTriggersin interfaceSeries- Returns:
- the value of the 'Triggers' containment reference list.
- See Also:
-
isTranslucent
public boolean isTranslucent()- Specified by:
isTranslucentin interfaceSeries- Returns:
- the value of the 'Translucent' attribute.
- See Also:
-
setTranslucent
public void setTranslucent(boolean newTranslucent) - Specified by:
setTranslucentin interfaceSeries- Parameters:
newTranslucent- the new value of the 'Translucent' attribute.- See Also:
-
unsetTranslucent
public void unsetTranslucent()- Specified by:
unsetTranslucentin interfaceSeries- See Also:
-
isSetTranslucent
public boolean isSetTranslucent()- Specified by:
isSetTranslucentin interfaceSeries- Returns:
- whether the value of the 'Translucent' attribute is set.
- See Also:
-
getCurveFitting
- Specified by:
getCurveFittingin interfaceSeries- Returns:
- the value of the 'Curve Fitting' containment reference.
- See Also:
-
basicSetCurveFitting
public org.eclipse.emf.common.notify.NotificationChain basicSetCurveFitting(CurveFitting newCurveFitting, org.eclipse.emf.common.notify.NotificationChain msgs) -
setCurveFitting
- Specified by:
setCurveFittingin interfaceSeries- Parameters:
newCurveFitting- the new value of the 'Curve Fitting' containment reference.- See Also:
-
getCursor
-
basicSetCursor
public org.eclipse.emf.common.notify.NotificationChain basicSetCursor(Cursor newCursor, org.eclipse.emf.common.notify.NotificationChain msgs) -
setCursor
-
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
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- 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
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
canParticipateInCombination
public boolean canParticipateInCombination()Description copied from interface:SeriesThis method should return true if the series type can be used in a combination chart. NOTE: Manually written- Specified by:
canParticipateInCombinationin interfaceSeries- Returns:
- true means this series can be used in combination chart
-
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
-
canBeStacked
public boolean canBeStacked()Description copied from interface:SeriesIndicates if this series type may be rendered stacked with other series instances of the same type NOTE: Manually written- Specified by:
canBeStackedin interfaceSeries- Returns:
- true means this series can be stacked
-
translateFrom
Description copied from interface:SeriesThis 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:
translateFromin interfaceSeries
-
getDisplayName
Description copied from interface:SeriesThis method should return a user-friendly name for the series type. NOTE: Manually written- Specified by:
getDisplayNamein interfaceSeries- Returns:
- display name for the series type
-
isSingleCache
public boolean isSingleCache()Description copied from interface:SeriesThe method indicates if painting requests of series should be added to a single cache.- Specified by:
isSingleCachein interfaceSeries- Returns:
trueif painting requests of series should be added to a single cache. False means creating a new Cache for each series.
-
copyInstance
- Specified by:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceSeries
-
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- Parameters:
dimension- chart dimension- Returns:
- NameSet with supported label positions.
-
getDefinedDataDefinitionIndex
public int[] getDefinedDataDefinitionIndex()Description copied from interface:SeriesReturns the index array of data definitions which must be defined. For instance, if there are two data definitions in series, and the first one can be not defined, this method will return 1 in integer array; if two of them must be defined, this method will return 0 and 1 in integer array.- Specified by:
getDefinedDataDefinitionIndexin interfaceSeries- Returns:
- index array
-