Class ChartWithoutAxesImpl
- 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.ChartWithoutAxesImpl
-
- All Implemented Interfaces:
Chart,ChartWithoutAxes,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
DialChartImpl
public class ChartWithoutAxesImpl extends ChartImpl implements ChartWithoutAxes
An implementation of the model object 'Chart Without 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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearSections(int iSectionType)This method walks through the model and clears specific model sections that are not required at deployment time.ChartWithoutAxescopyInstance()static ChartWithoutAxescreate()A convenience method to create an initialized 'ChartWithoutAxes' instancestatic ChartWithoutAxescreateDefault()A convenience method to create an initialized 'ChartWithoutAxes' instancejava.lang.ObjecteGet(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)voideSet(int featureID, java.lang.Object newValue)voideUnset(int featureID)doublegetCoverage()doublegetMinSlice()java.lang.StringgetMinSliceLabel()Series[]getRunTimeSeries()org.eclipse.emf.common.util.EList<SeriesDefinition>getSeriesDefinitions()booleanisMinSlicePercent()booleanisSetCoverage()booleanisSetMinSlice()booleanisSetMinSlicePercent()voidrecursivelyGetSeries(org.eclipse.emf.common.util.EList<SeriesDefinition> elSDs, java.util.ArrayList<Series> al, int iLevel, int iLevelToOmit)Walks down the series definition tree and retrieves all runtime series.voidsetCoverage(double newCoverage)voidsetDimension(ChartDimension newDimension)Set pie chart dimension type.voidsetMinSlice(double newMinSlice)voidsetMinSliceLabel(java.lang.String newMinSliceLabel)voidsetMinSlicePercent(boolean newMinSlicePercent)voidsetType(java.lang.String newType)java.lang.StringtoString()voidunsetCoverage()voidunsetMinSlice()voidunsetMinSlicePercent()-
Methods 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, setEmptyMessage, setGridColumnCount, setInteractivity, setSampleData, setScript, setSeriesThickness, setSubType, setUnits, setVersion, unsetDimension, unsetGridColumnCount, unsetSeriesThickness, unsetVersion
-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, 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, 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, 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, getEmptyMessage, getExtendedProperties, getGridColumnCount, getInteractivity, getLegend, getPlot, getSampleData, getScript, getSeriesForLegend, getSeriesThickness, getStyles, getSubType, getTitle, getType, getUnits, getVersion, isSetDimension, isSetGridColumnCount, isSetSeriesThickness, isSetVersion, setBlock, setDescription, setEmptyMessage, setGridColumnCount, setInteractivity, setSampleData, setScript, setSeriesThickness, setSubType, setUnits, setVersion, unsetDimension, unsetGridColumnCount, unsetSeriesThickness, unsetVersion
-
-
-
-
Method Detail
-
getSeriesDefinitions
public org.eclipse.emf.common.util.EList<SeriesDefinition> getSeriesDefinitions()
- Specified by:
getSeriesDefinitionsin interfaceChartWithoutAxes- Returns:
- the value of the 'Series Definitions' containment reference list.
- See Also:
ModelPackage.getChartWithoutAxes_SeriesDefinitions()
-
getMinSlice
public double getMinSlice()
- Specified by:
getMinSlicein interfaceChartWithoutAxes- Returns:
- the value of the 'Min Slice' attribute.
- See Also:
ChartWithoutAxes.isSetMinSlice(),ChartWithoutAxes.unsetMinSlice(),ChartWithoutAxes.setMinSlice(double),ModelPackage.getChartWithoutAxes_MinSlice()
-
setMinSlice
public void setMinSlice(double newMinSlice)
- Specified by:
setMinSlicein interfaceChartWithoutAxes- Parameters:
newMinSlice- the new value of the 'Min Slice' attribute.- See Also:
ChartWithoutAxes.isSetMinSlice(),ChartWithoutAxes.unsetMinSlice(),ChartWithoutAxes.getMinSlice()
-
unsetMinSlice
public void unsetMinSlice()
- Specified by:
unsetMinSlicein interfaceChartWithoutAxes- See Also:
ChartWithoutAxes.isSetMinSlice(),ChartWithoutAxes.getMinSlice(),ChartWithoutAxes.setMinSlice(double)
-
isSetMinSlice
public boolean isSetMinSlice()
- Specified by:
isSetMinSlicein interfaceChartWithoutAxes- Returns:
- whether the value of the 'Min Slice' attribute is set.
- See Also:
ChartWithoutAxes.unsetMinSlice(),ChartWithoutAxes.getMinSlice(),ChartWithoutAxes.setMinSlice(double)
-
isMinSlicePercent
public boolean isMinSlicePercent()
- Specified by:
isMinSlicePercentin interfaceChartWithoutAxes- Returns:
- the value of the 'Min Slice Percent' attribute.
- See Also:
ChartWithoutAxes.isSetMinSlicePercent(),ChartWithoutAxes.unsetMinSlicePercent(),ChartWithoutAxes.setMinSlicePercent(boolean),ModelPackage.getChartWithoutAxes_MinSlicePercent()
-
setMinSlicePercent
public void setMinSlicePercent(boolean newMinSlicePercent)
- Specified by:
setMinSlicePercentin interfaceChartWithoutAxes- Parameters:
newMinSlicePercent- the new value of the 'Min Slice Percent' attribute.- See Also:
ChartWithoutAxes.isSetMinSlicePercent(),ChartWithoutAxes.unsetMinSlicePercent(),ChartWithoutAxes.isMinSlicePercent()
-
unsetMinSlicePercent
public void unsetMinSlicePercent()
- Specified by:
unsetMinSlicePercentin interfaceChartWithoutAxes- See Also:
ChartWithoutAxes.isSetMinSlicePercent(),ChartWithoutAxes.isMinSlicePercent(),ChartWithoutAxes.setMinSlicePercent(boolean)
-
isSetMinSlicePercent
public boolean isSetMinSlicePercent()
- Specified by:
isSetMinSlicePercentin interfaceChartWithoutAxes- Returns:
- whether the value of the 'Min Slice Percent' attribute is set.
- See Also:
ChartWithoutAxes.unsetMinSlicePercent(),ChartWithoutAxes.isMinSlicePercent(),ChartWithoutAxes.setMinSlicePercent(boolean)
-
getMinSliceLabel
public java.lang.String getMinSliceLabel()
- Specified by:
getMinSliceLabelin interfaceChartWithoutAxes- Returns:
- the value of the 'Min Slice Label' attribute.
- See Also:
ChartWithoutAxes.setMinSliceLabel(String),ModelPackage.getChartWithoutAxes_MinSliceLabel()
-
setMinSliceLabel
public void setMinSliceLabel(java.lang.String newMinSliceLabel)
- Specified by:
setMinSliceLabelin interfaceChartWithoutAxes- Parameters:
newMinSliceLabel- the new value of the 'Min Slice Label' attribute.- See Also:
ChartWithoutAxes.getMinSliceLabel()
-
getCoverage
public double getCoverage()
- Specified by:
getCoveragein interfaceChartWithoutAxes- Returns:
- the value of the 'Coverage' attribute.
- See Also:
ChartWithoutAxes.isSetCoverage(),ChartWithoutAxes.unsetCoverage(),ChartWithoutAxes.setCoverage(double),ModelPackage.getChartWithoutAxes_Coverage()
-
setCoverage
public void setCoverage(double newCoverage)
- Specified by:
setCoveragein interfaceChartWithoutAxes- Parameters:
newCoverage- the new value of the 'Coverage' attribute.- See Also:
ChartWithoutAxes.isSetCoverage(),ChartWithoutAxes.unsetCoverage(),ChartWithoutAxes.getCoverage()
-
unsetCoverage
public void unsetCoverage()
- Specified by:
unsetCoveragein interfaceChartWithoutAxes- See Also:
ChartWithoutAxes.isSetCoverage(),ChartWithoutAxes.getCoverage(),ChartWithoutAxes.setCoverage(double)
-
isSetCoverage
public boolean isSetCoverage()
- Specified by:
isSetCoveragein interfaceChartWithoutAxes- Returns:
- whether the value of the 'Coverage' attribute is set.
- See Also:
ChartWithoutAxes.unsetCoverage(),ChartWithoutAxes.getCoverage(),ChartWithoutAxes.setCoverage(double)
-
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
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
-
eUnset
public void eUnset(int featureID)
-
eIsSet
public boolean eIsSet(int featureID)
-
create
public static ChartWithoutAxes create()
A convenience method to create an initialized 'ChartWithoutAxes' instance- Returns:
- chart model
-
createDefault
public static ChartWithoutAxes createDefault()
A convenience method to create an initialized 'ChartWithoutAxes' instance- Returns:
- chart model
-
getRunTimeSeries
public final Series[] getRunTimeSeries()
- Specified by:
getRunTimeSeriesin interfaceChartWithoutAxes- Returns:
-
recursivelyGetSeries
public final void recursivelyGetSeries(org.eclipse.emf.common.util.EList<SeriesDefinition> elSDs, java.util.ArrayList<Series> al, int iLevel, int iLevelToOmit)
Walks down the series definition tree and retrieves all runtime series.- Parameters:
elSDs-al-iLevel-
-
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
public ChartWithoutAxes copyInstance()
- Specified by:
copyInstancein interfaceChart- Specified by:
copyInstancein interfaceChartWithoutAxes- Specified by:
copyInstancein interfaceIChartObject- Overrides:
copyInstancein classChartImpl
-
setDimension
public void setDimension(ChartDimension newDimension)
Set pie chart dimension type.- Specified by:
setDimensionin interfaceChart- Overrides:
setDimensionin classChartImpl- Parameters:
newDimension- the new value of the 'Dimension' attribute.- See Also:
ChartDimension,Chart.isSetDimension(),Chart.unsetDimension(),Chart.getDimension()
-
-