Class StockSeriesImpl
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.StockSeriesImpl
- All Implemented Interfaces:
Series,IChartObject,StockSeries,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object ' Stock
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.NotificationChainbasicSetFill(Fill newFill, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetLineAttributes(LineAttributes newLineAttributes, org.eclipse.emf.common.notify.NotificationChain msgs) final booleanThis 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 final Seriescreate()A convenience method to create an initialized 'Series' instance NOTE: Manually writtenstatic final SeriesA convenience method to create an initialized 'Series' instance NOTE: Manually writteneGet(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) int[]Returns the index array of data definitions which must be defined.This method should return a user-friendly name for the series type.getFill()intbooleanbooleanbooleanvoidvoidsetLineAttributes(LineAttributes newLineAttributes) voidsetShowAsBarStick(boolean newShowAsBarStick) voidsetStickLength(int newStickLength) toString()voidtranslateFrom(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.voidvoidMethods inherited from class org.eclipse.birt.chart.model.component.impl.SeriesImpl
basicSetCursor, basicSetCurveFitting, basicSetDataPoint, basicSetLabel, canBeStacked, getCursor, getCurveFitting, getDataDefinition, getDataPoint, getDataSet, getDataSet, getDataSets, getLabel, getLabelPosition, getLabelPositionScope, getSeriesIdentifier, getTriggers, isSetLabelPosition, isSetStacked, isSetTranslucent, isSetVisible, isSingleCache, isStacked, isTranslucent, isVisible, setCursor, setCurveFitting, setDataPoint, setDataSet, setDataSet, setLabel, setLabelPosition, setSeriesIdentifier, setStacked, setTranslucent, setVisible, 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, getCursor, getCurveFitting, getDataDefinition, getDataPoint, getDataSet, getDataSet, getDataSets, getLabel, getLabelPosition, getLabelPositionScope, getSeriesIdentifier, getTriggers, isSetLabelPosition, isSetStacked, isSetTranslucent, isSetVisible, isSingleCache, isStacked, isTranslucent, isVisible, setCursor, setCurveFitting, setDataPoint, setDataSet, setDataSet, setLabel, setLabelPosition, setSeriesIdentifier, setStacked, setTranslucent, setVisible, unsetLabelPosition, unsetStacked, unsetTranslucent, unsetVisible
-
Method Details
-
getFill
- Specified by:
getFillin interfaceStockSeries- Returns:
- the value of the 'Fill' containment reference.
- See Also:
-
basicSetFill
public org.eclipse.emf.common.notify.NotificationChain basicSetFill(Fill newFill, org.eclipse.emf.common.notify.NotificationChain msgs) -
setFill
- Specified by:
setFillin interfaceStockSeries- Parameters:
newFill- the new value of the 'Fill' containment reference.- See Also:
-
getLineAttributes
- Specified by:
getLineAttributesin interfaceStockSeries- Returns:
- the value of the 'Line Attributes' containment reference.
- See Also:
-
basicSetLineAttributes
public org.eclipse.emf.common.notify.NotificationChain basicSetLineAttributes(LineAttributes newLineAttributes, org.eclipse.emf.common.notify.NotificationChain msgs) -
setLineAttributes
- Specified by:
setLineAttributesin interfaceStockSeries- Parameters:
newLineAttributes- the new value of the 'Line Attributes' containment reference.- See Also:
-
isShowAsBarStick
public boolean isShowAsBarStick()- Specified by:
isShowAsBarStickin interfaceStockSeries- Returns:
- the value of the 'Show As Bar Stick' attribute.
- See Also:
-
setShowAsBarStick
public void setShowAsBarStick(boolean newShowAsBarStick) - Specified by:
setShowAsBarStickin interfaceStockSeries- Parameters:
newShowAsBarStick- the new value of the 'Show As Bar Stick' attribute.- See Also:
-
unsetShowAsBarStick
public void unsetShowAsBarStick()- Specified by:
unsetShowAsBarStickin interfaceStockSeries- See Also:
-
isSetShowAsBarStick
public boolean isSetShowAsBarStick()- Specified by:
isSetShowAsBarStickin interfaceStockSeries- Returns:
- whether the value of the 'Show As Bar Stick' attribute is set.
- See Also:
-
getStickLength
public int getStickLength()- Specified by:
getStickLengthin interfaceStockSeries- Returns:
- the value of the 'Stick Length' attribute.
- See Also:
-
setStickLength
public void setStickLength(int newStickLength) - Specified by:
setStickLengthin interfaceStockSeries- Parameters:
newStickLength- the new value of the 'Stick Length' attribute.- See Also:
-
unsetStickLength
public void unsetStickLength()- Specified by:
unsetStickLengthin interfaceStockSeries- See Also:
-
isSetStickLength
public boolean isSetStickLength()- Specified by:
isSetStickLengthin interfaceStockSeries- Returns:
- whether the value of the 'Stick Length' 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
-
canParticipateInCombination
public final 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- Overrides:
canParticipateInCombinationin classSeriesImpl- Returns:
- true means this series can be used in combination chart
-
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- Overrides:
translateFromin classSeriesImpl
-
create
A convenience method to create an initialized 'Series' instance NOTE: Manually written -
createDefault
A convenience method to create an initialized 'Series' instance NOTE: Manually written -
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 interfaceSeries- Specified by:
copyInstancein interfaceStockSeries- Overrides:
copyInstancein classSeriesImpl
-
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- Overrides:
getDefinedDataDefinitionIndexin classSeriesImpl- Returns:
- index array
-