Class ChartWithAxesImpl
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.impl.ChartImpl
org.eclipse.birt.chart.model.impl.ChartWithAxesImpl
- All Implemented Interfaces:
Chart,ChartWithAxes,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object ' Chart
With Axes'.
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.NotificationChainbasicSetFloorFill(Fill newFloorFill, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetRotation(Rotation3D newRotation, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetWallFill(Fill newWallFill, org.eclipse.emf.common.notify.NotificationChain msgs) final voidclearSections(int iSectionType) This method walks through the model and clears specific model sections that are not required at deployment time.static final ChartWithAxescreate()A convenience method to create an initialized 'ChartWithAxes' instance Note: Manually writtenstatic final ChartWithAxesA convenience method to create an initialized 'ChartWithAxes' 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) getAncillaryBaseAxis(Axis axBase) This method returns the ancillary base axis for a given base axis NOTE: Manually writtenorg.eclipse.emf.common.util.EList<Axis>getAxes()final Axis[]This method returns all base axes associated with the chart model NOTE: Manually writtenfinal Axis[]getOrthogonalAxes(Axis axBase, boolean bIncludePrimary) This method returns all (primary and overlay) orthogonal axes for a given base axis If the primary orthogonal is requested for, it would be returned as the first element in the array NOTE: Manually writtenfinal Axis[]This method returns all primary base axes associated with the chart model NOTE: Manually writtenfinal AxisgetPrimaryOrthogonalAxis(Axis axBase) This method returns the primary orthogonal axis for a given base axis NOTE: Manually writtenfinal Series[]getSeries(int iBaseOrOrthogonal) This method needs to be called after the chart has been populated with runtime datasets and runtime series have been associated with each of the series definitions.doublebooleanbooleanbooleanbooleanbooleanbooleanfinal booleanA convenience method used to determine if the plot is transposed or not.voidsetFloorFill(Fill newFloorFill) voidsetOrientation(Orientation newOrientation) voidsetReverseCategory(boolean newReverseCategory) voidsetRotation(Rotation3D newRotation) voidsetStudyLayout(boolean newStudyLayout) voidsetTransposed(boolean bTransposed) A convenience method used to specify if the plot is transposed or not.voidsetUnitSpacing(double newUnitSpacing) voidsetWallFill(Fill newWallFill) toString()voidvoidvoidvoidMethods inherited from class org.eclipse.birt.chart.model.impl.ChartImpl
basicSetBlock, basicSetDescription, basicSetEmptyMessage, basicSetInteractivity, basicSetSampleData, createSampleRuntimeSeries, getBlock, getDescription, getDimension, getEmptyMessage, getExtendedProperties, getGridColumnCount, getInteractivity, getLegend, getPlot, getSampleData, getScript, getSeriesForLegend, getSeriesThickness, getStyles, getSubType, getTitle, getType, getUnits, getVersion, isSetDimension, isSetGridColumnCount, isSetSeriesThickness, isSetVersion, setBlock, setDescription, setDimension, setEmptyMessage, setGridColumnCount, setInteractivity, setSampleData, setScript, setSeriesThickness, setSubType, setType, setUnits, setVersion, unsetDimension, unsetGridColumnCount, unsetSeriesThickness, unsetVersionMethods 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.birt.chart.model.Chart
createSampleRuntimeSeries, getBlock, getDescription, getDimension, getEmptyMessage, getExtendedProperties, getGridColumnCount, getInteractivity, getLegend, getPlot, getSampleData, getScript, getSeriesForLegend, getSeriesThickness, getStyles, getSubType, getTitle, getType, getUnits, getVersion, isSetDimension, isSetGridColumnCount, isSetSeriesThickness, isSetVersion, setBlock, setDescription, setDimension, setEmptyMessage, setGridColumnCount, setInteractivity, setSampleData, setScript, setSeriesThickness, setSubType, setType, setUnits, setVersion, unsetDimension, unsetGridColumnCount, unsetSeriesThickness, unsetVersionMethods 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
-
getAxes
- Specified by:
getAxesin interfaceChartWithAxes- Returns:
- the value of the 'Axes' containment reference list.
- See Also:
-
getWallFill
- Specified by:
getWallFillin interfaceChartWithAxes- Returns:
- the value of the 'Wall Fill' containment reference.
- See Also:
-
basicSetWallFill
public org.eclipse.emf.common.notify.NotificationChain basicSetWallFill(Fill newWallFill, org.eclipse.emf.common.notify.NotificationChain msgs) -
setWallFill
- Specified by:
setWallFillin interfaceChartWithAxes- Parameters:
newWallFill- the new value of the 'Wall Fill' containment reference.- See Also:
-
getFloorFill
- Specified by:
getFloorFillin interfaceChartWithAxes- Returns:
- the value of the 'Floor Fill' containment reference.
- See Also:
-
basicSetFloorFill
public org.eclipse.emf.common.notify.NotificationChain basicSetFloorFill(Fill newFloorFill, org.eclipse.emf.common.notify.NotificationChain msgs) -
setFloorFill
- Specified by:
setFloorFillin interfaceChartWithAxes- Parameters:
newFloorFill- the new value of the 'Floor Fill' containment reference.- See Also:
-
getOrientation
- Specified by:
getOrientationin interfaceChartWithAxes- Returns:
- the value of the 'Orientation' attribute.
- See Also:
-
setOrientation
- Specified by:
setOrientationin interfaceChartWithAxes- Parameters:
newOrientation- the new value of the 'Orientation' attribute.- See Also:
-
unsetOrientation
public void unsetOrientation()- Specified by:
unsetOrientationin interfaceChartWithAxes- See Also:
-
isSetOrientation
public boolean isSetOrientation()- Specified by:
isSetOrientationin interfaceChartWithAxes- Returns:
- whether the value of the 'Orientation' attribute is set.
- See Also:
-
getUnitSpacing
public double getUnitSpacing()- Specified by:
getUnitSpacingin interfaceChartWithAxes- Returns:
- the value of the 'Unit Spacing' attribute.
- See Also:
-
setUnitSpacing
public void setUnitSpacing(double newUnitSpacing) - Specified by:
setUnitSpacingin interfaceChartWithAxes- Parameters:
newUnitSpacing- the new value of the 'Unit Spacing' attribute.- See Also:
-
unsetUnitSpacing
public void unsetUnitSpacing()- Specified by:
unsetUnitSpacingin interfaceChartWithAxes- See Also:
-
isSetUnitSpacing
public boolean isSetUnitSpacing()- Specified by:
isSetUnitSpacingin interfaceChartWithAxes- Returns:
- whether the value of the 'Unit Spacing' attribute is set.
- See Also:
-
getRotation
- Specified by:
getRotationin interfaceChartWithAxes- Returns:
- the value of the 'Rotation' containment reference.
- See Also:
-
basicSetRotation
public org.eclipse.emf.common.notify.NotificationChain basicSetRotation(Rotation3D newRotation, org.eclipse.emf.common.notify.NotificationChain msgs) -
setRotation
- Specified by:
setRotationin interfaceChartWithAxes- Parameters:
newRotation- the new value of the 'Rotation' containment reference.- See Also:
-
isReverseCategory
public boolean isReverseCategory()- Specified by:
isReverseCategoryin interfaceChartWithAxes- Returns:
- the value of the 'Reverse Category' attribute.
- See Also:
-
setReverseCategory
public void setReverseCategory(boolean newReverseCategory) - Specified by:
setReverseCategoryin interfaceChartWithAxes- Parameters:
newReverseCategory- the new value of the 'Reverse Category' attribute.- See Also:
-
unsetReverseCategory
public void unsetReverseCategory()- Specified by:
unsetReverseCategoryin interfaceChartWithAxes- See Also:
-
isSetReverseCategory
public boolean isSetReverseCategory()- Specified by:
isSetReverseCategoryin interfaceChartWithAxes- Returns:
- whether the value of the 'Reverse Category' attribute is set.
- See Also:
-
isStudyLayout
public boolean isStudyLayout()- Specified by:
isStudyLayoutin interfaceChartWithAxes- Returns:
- the value of the 'Study Layout' attribute.
- See Also:
-
setStudyLayout
public void setStudyLayout(boolean newStudyLayout) - Specified by:
setStudyLayoutin interfaceChartWithAxes- Parameters:
newStudyLayout- the new value of the 'Study Layout' attribute.- See Also:
-
unsetStudyLayout
public void unsetStudyLayout()- Specified by:
unsetStudyLayoutin interfaceChartWithAxes- See Also:
-
isSetStudyLayout
public boolean isSetStudyLayout()- Specified by:
isSetStudyLayoutin interfaceChartWithAxes- Returns:
- whether the value of the 'Study Layout' 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 classChartImpl
-
eGet
-
eSet
-
eUnset
public void eUnset(int featureID) -
eIsSet
public boolean eIsSet(int featureID) -
toString
-
getBaseAxes
This method returns all base axes associated with the chart model NOTE: Manually written- Specified by:
getBaseAxesin interfaceChartWithAxes- Returns:
- Axis array
-
getPrimaryBaseAxes
This method returns all primary base axes associated with the chart model NOTE: Manually written- Specified by:
getPrimaryBaseAxesin interfaceChartWithAxes- Returns:
- Axis array
-
getOrthogonalAxes
This method returns all (primary and overlay) orthogonal axes for a given base axis If the primary orthogonal is requested for, it would be returned as the first element in the array NOTE: Manually written- Specified by:
getOrthogonalAxesin interfaceChartWithAxes- Parameters:
axBase-- Returns:
- Axis array
-
getPrimaryOrthogonalAxis
This method returns the primary orthogonal axis for a given base axis NOTE: Manually written- Specified by:
getPrimaryOrthogonalAxisin interfaceChartWithAxes- Parameters:
axBase-- Returns:
- primary orthongal axis
-
getAncillaryBaseAxis
Description copied from interface:ChartWithAxesThis method returns the ancillary base axis for a given base axis NOTE: Manually written- Specified by:
getAncillaryBaseAxisin interfaceChartWithAxes- Returns:
-
create
A convenience method to create an initialized 'ChartWithAxes' instance Note: Manually written- Returns:
- chart model
-
createDefault
A convenience method to create an initialized 'ChartWithAxes' instance Note: Manually written- Returns:
- chart model
-
getSeries
This method needs to be called after the chart has been populated with runtime datasets and runtime series have been associated with each of the series definitions.- Specified by:
getSeriesin interfaceChartWithAxes- Parameters:
iBaseOrOrthogonal-- Returns:
- All series associated with the specified axis types
-
isTransposed
public final boolean isTransposed()Description copied from interface:ChartWithAxesA convenience method used to determine if the plot is transposed or not. For an orthogonal set of axes, this is determined by evaluating the 'Orientation' property. If (orientation == HORIZONTAL), the chart is transposed. NOTE: Manually written- Specified by:
isTransposedin interfaceChartWithAxes- Returns:
- A boolean indicating if the chart is transposed or not
-
setTransposed
public void setTransposed(boolean bTransposed) Description copied from interface:ChartWithAxesA convenience method used to specify if the plot is transposed or not. For an orthogonal set of axes, this is determined by internally setting the 'Orientation' property. If (orientation == HORIZONTAL), the chart is transposed. NOTE: Manually written- Specified by:
setTransposedin interfaceChartWithAxes
-
clearSections
public final void clearSections(int iSectionType) Description copied from interface:ChartThis method walks through the model and clears specific model sections that are not required at deployment time.- Specified by:
clearSectionsin interfaceChart- Overrides:
clearSectionsin classChartImpl- Parameters:
iSectionType- Possible values are IConstants.RUN_TIME and IConstants.USER_INTERFACE
-
copyInstance
- Specified by:
copyInstancein interfaceChart- Specified by:
copyInstancein interfaceChartWithAxes- Specified by:
copyInstancein interfaceIChartObject- Overrides:
copyInstancein classChartImpl
-