org.eclipse.birt.chart.model.impl
Class ChartWithAxesImpl

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.impl.ChartImpl
                  extended byorg.eclipse.birt.chart.model.impl.ChartWithAxesImpl
All Implemented Interfaces:
Chart, ChartWithAxes, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier

public class ChartWithAxesImpl
extends ChartImpl
implements ChartWithAxes

An implementation of the model object ' Chart With Axes'.

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.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetFloorFill(Fill newFloorFill, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetRotation(Rotation3D newRotation, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetWallFill(Fill newWallFill, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 void clearSections(int iSectionType)
          This method walks through the model and clears specific model sections that are not required at deployment time.
static ChartWithAxes create()
          A convenience method to create an initialized 'ChartWithAxes' instance Note: Manually written
 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)
           
 Axis getAncillaryBaseAxis(Axis axBase)
          This method returns the ancillary base axis for a given base axis NOTE: Manually written
 org.eclipse.emf.common.util.EList getAxes()
           
 Axis[] getBaseAxes()
          This method returns all base axes associated with the chart model NOTE: Manually written
 Fill getFloorFill()
           
 Orientation getOrientation()
           
 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 written
 Axis[] getPrimaryBaseAxes()
          This method returns all primary base axes associated with the chart model NOTE: Manually written
 Axis getPrimaryOrthogonalAxis(Axis axBase)
          This method returns the primary orthogonal axis for a given base axis NOTE: Manually written
 Rotation3D getRotation()
           
 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.
 SeriesDefinition[] getSeriesForLegend()
          This method returns all series whose captions/markers are to be rendered in the Legend content
 double getUnitSpacing()
           
 Fill getWallFill()
           
 boolean isSetOrientation()
           
 boolean isSetUnitSpacing()
           
 boolean isTransposed()
          A convenience method used to determine if the plot is transposed or not.
 void setFloorFill(Fill newFloorFill)
           
 void setOrientation(Orientation newOrientation)
           
 void setRotation(Rotation3D newRotation)
           
 void setTransposed(boolean bTransposed)
          A convenience method used to specify if the plot is transposed or not.
 void setUnitSpacing(double newUnitSpacing)
           
 void setWallFill(Fill newWallFill)
           
 java.lang.String toString()
           
 void unsetOrientation()
           
 void unsetUnitSpacing()
           
 
Methods inherited from class org.eclipse.birt.chart.model.impl.ChartImpl
basicSetBlock, basicSetDescription, basicSetInteractivity, basicSetSampleData, createSampleRuntimeSeries, getBlock, getDescription, getDimension, getExtendedProperties, getGridColumnCount, getInteractivity, getLegend, getPlot, getSampleData, getScript, getSeriesThickness, getStyles, getSubType, getTitle, getType, getUnits, getVersion, isSetDimension, isSetGridColumnCount, isSetSeriesThickness, isSetVersion, setBlock, setDescription, setDimension, setGridColumnCount, setInteractivity, setSampleData, setScript, setSeriesThickness, setSubType, setType, setUnits, setVersion, unsetDimension, unsetGridColumnCount, unsetSeriesThickness, unsetVersion
 
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.Chart
createSampleRuntimeSeries, getBlock, getDescription, getDimension, getExtendedProperties, getGridColumnCount, getInteractivity, getLegend, getPlot, getSampleData, getScript, getSeriesThickness, getStyles, getSubType, getTitle, getType, getUnits, getVersion, isSetDimension, isSetGridColumnCount, isSetSeriesThickness, isSetVersion, setBlock, setDescription, setDimension, setGridColumnCount, setInteractivity, setSampleData, setScript, setSeriesThickness, setSubType, setType, setUnits, setVersion, unsetDimension, unsetGridColumnCount, unsetSeriesThickness, unsetVersion
 
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

getAxes

public org.eclipse.emf.common.util.EList getAxes()

Specified by:
getAxes in interface ChartWithAxes
Returns:
the value of the 'Axes' containment reference list.
See Also:
ModelPackage.getChartWithAxes_Axes()

getWallFill

public Fill getWallFill()

Specified by:
getWallFill in interface ChartWithAxes
Returns:
the value of the 'Wall Fill' containment reference.
See Also:
ChartWithAxes.setWallFill(Fill), ModelPackage.getChartWithAxes_WallFill()

basicSetWallFill

public org.eclipse.emf.common.notify.NotificationChain basicSetWallFill(Fill newWallFill,
                                                                        org.eclipse.emf.common.notify.NotificationChain msgs)


setWallFill

public void setWallFill(Fill newWallFill)

Specified by:
setWallFill in interface ChartWithAxes
Parameters:
newWallFill - the new value of the 'Wall Fill' containment reference.
See Also:
ChartWithAxes.getWallFill()

getFloorFill

public Fill getFloorFill()

Specified by:
getFloorFill in interface ChartWithAxes
Returns:
the value of the 'Floor Fill' containment reference.
See Also:
ChartWithAxes.setFloorFill(Fill), ModelPackage.getChartWithAxes_FloorFill()

basicSetFloorFill

public org.eclipse.emf.common.notify.NotificationChain basicSetFloorFill(Fill newFloorFill,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)


setFloorFill

public void setFloorFill(Fill newFloorFill)

Specified by:
setFloorFill in interface ChartWithAxes
Parameters:
newFloorFill - the new value of the 'Floor Fill' containment reference.
See Also:
ChartWithAxes.getFloorFill()

getOrientation

public Orientation getOrientation()

Specified by:
getOrientation in interface ChartWithAxes
Returns:
the value of the 'Orientation' attribute.
See Also:
Orientation, ChartWithAxes.isSetOrientation(), ChartWithAxes.unsetOrientation(), ChartWithAxes.setOrientation(Orientation), ModelPackage.getChartWithAxes_Orientation()

setOrientation

public void setOrientation(Orientation newOrientation)

Specified by:
setOrientation in interface ChartWithAxes
Parameters:
newOrientation - the new value of the 'Orientation' attribute.
See Also:
Orientation, ChartWithAxes.isSetOrientation(), ChartWithAxes.unsetOrientation(), ChartWithAxes.getOrientation()

unsetOrientation

public void unsetOrientation()

Specified by:
unsetOrientation in interface ChartWithAxes
See Also:
ChartWithAxes.isSetOrientation(), ChartWithAxes.getOrientation(), ChartWithAxes.setOrientation(Orientation)

isSetOrientation

public boolean isSetOrientation()

Specified by:
isSetOrientation in interface ChartWithAxes
Returns:
whether the value of the 'Orientation' attribute is set.
See Also:
ChartWithAxes.unsetOrientation(), ChartWithAxes.getOrientation(), ChartWithAxes.setOrientation(Orientation)

getUnitSpacing

public double getUnitSpacing()

Specified by:
getUnitSpacing in interface ChartWithAxes
Returns:
the value of the 'Unit Spacing' attribute.
See Also:
ChartWithAxes.isSetUnitSpacing(), ChartWithAxes.unsetUnitSpacing(), ChartWithAxes.setUnitSpacing(double), ModelPackage.getChartWithAxes_UnitSpacing()

setUnitSpacing

public void setUnitSpacing(double newUnitSpacing)

Specified by:
setUnitSpacing in interface ChartWithAxes
Parameters:
newUnitSpacing - the new value of the 'Unit Spacing' attribute.
See Also:
ChartWithAxes.isSetUnitSpacing(), ChartWithAxes.unsetUnitSpacing(), ChartWithAxes.getUnitSpacing()

unsetUnitSpacing

public void unsetUnitSpacing()

Specified by:
unsetUnitSpacing in interface ChartWithAxes
See Also:
ChartWithAxes.isSetUnitSpacing(), ChartWithAxes.getUnitSpacing(), ChartWithAxes.setUnitSpacing(double)

isSetUnitSpacing

public boolean isSetUnitSpacing()

Specified by:
isSetUnitSpacing in interface ChartWithAxes
Returns:
whether the value of the 'Unit Spacing' attribute is set.
See Also:
ChartWithAxes.unsetUnitSpacing(), ChartWithAxes.getUnitSpacing(), ChartWithAxes.setUnitSpacing(double)

getRotation

public Rotation3D getRotation()

Specified by:
getRotation in interface ChartWithAxes
Returns:
the value of the 'Rotation' containment reference.
See Also:
ChartWithAxes.setRotation(Rotation3D), ModelPackage.getChartWithAxes_Rotation()

basicSetRotation

public org.eclipse.emf.common.notify.NotificationChain basicSetRotation(Rotation3D newRotation,
                                                                        org.eclipse.emf.common.notify.NotificationChain msgs)


setRotation

public void setRotation(Rotation3D newRotation)

Specified by:
setRotation in interface ChartWithAxes
Parameters:
newRotation - the new value of the 'Rotation' containment reference.
See Also:
ChartWithAxes.getRotation()

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 ChartImpl

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 ChartImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class ChartImpl

getBaseAxes

public final Axis[] getBaseAxes()
This method returns all base axes associated with the chart model NOTE: Manually written

Specified by:
getBaseAxes in interface ChartWithAxes
Returns:

getPrimaryBaseAxes

public final Axis[] getPrimaryBaseAxes()
This method returns all primary base axes associated with the chart model NOTE: Manually written

Specified by:
getPrimaryBaseAxes in interface ChartWithAxes
Returns:

getOrthogonalAxes

public final 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 written

Specified by:
getOrthogonalAxes in interface ChartWithAxes
Parameters:
axBase -
Returns:

getPrimaryOrthogonalAxis

public final Axis getPrimaryOrthogonalAxis(Axis axBase)
This method returns the primary orthogonal axis for a given base axis NOTE: Manually written

Specified by:
getPrimaryOrthogonalAxis in interface ChartWithAxes
Parameters:
axBase -
Returns:

getAncillaryBaseAxis

public Axis getAncillaryBaseAxis(Axis axBase)
Description copied from interface: ChartWithAxes
This method returns the ancillary base axis for a given base axis NOTE: Manually written

Specified by:
getAncillaryBaseAxis in interface ChartWithAxes
Parameters:
axBase -
Returns:

create

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

Returns:

getSeries

public final 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.

Specified by:
getSeries in interface ChartWithAxes
Parameters:
iBaseOrOrthogonal -
Returns:
All series associated with the specified axis types

isTransposed

public final boolean isTransposed()
Description copied from interface: ChartWithAxes
A 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:
isTransposed in interface ChartWithAxes
Returns:
A boolean indicating if the chart is transposed or not

setTransposed

public void setTransposed(boolean bTransposed)
Description copied from interface: ChartWithAxes
A 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:
setTransposed in interface ChartWithAxes

getSeriesForLegend

public final SeriesDefinition[] getSeriesForLegend()
Description copied from interface: Chart
This method returns all series whose captions/markers are to be rendered in the Legend content

Specified by:
getSeriesForLegend in interface Chart
Overrides:
getSeriesForLegend in class ChartImpl

clearSections

public final void clearSections(int iSectionType)
Description copied from interface: Chart
This method walks through the model and clears specific model sections that are not required at deployment time.

Specified by:
clearSections in interface Chart
Overrides:
clearSections in class ChartImpl


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