Class AxisImpl
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.AxisImpl
- All Implemented Interfaces:
Axis,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object '
Axis'.
The following features are implemented:
TypeTitleSub TitleTitle PositionAssociated AxesAncillary AxesSeries DefinitionsGap WidthOrientationLine AttributesLabelFormat SpecifierLabel PositionStaggeredIntervalMarker LinesMarker RangesTriggersMajor GridMinor GridScaleOriginPrimary AxisCategory AxisPercentLabel Within AxesAlignedSide By SideCursorLabel SpanAxis Percent
-
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.birt.chart.model.component.Axis
ANCILLARY_BASE, BASE, ORTHOGONALFields 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.NotificationChainbasicSetFormatSpecifier(FormatSpecifier newFormatSpecifier, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetLabel(Label newLabel, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetLineAttributes(LineAttributes newLineAttributes, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetMajorGrid(Grid newMajorGrid, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetMinorGrid(Grid newMinorGrid, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetOrigin(AxisOrigin newOrigin, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetScale(Scale newScale, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetSubTitle(Label newSubTitle, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetTitle(Label newTitle, org.eclipse.emf.common.notify.NotificationChain msgs) static final Axiscreate(int iAxisType) A convenience method to create an initialized 'Axis' instancestatic final AxiscreateDefault(int iAxisType) A convenience method to create an initialized 'Axis' 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<Axis>org.eclipse.emf.common.util.EList<Axis>intdoubleintgetLabel()doubleorg.eclipse.emf.common.util.EList<MarkerLine>org.eclipse.emf.common.util.EList<MarkerRange>final Series[]getScale()org.eclipse.emf.common.util.EList<SeriesDefinition>getTitle()org.eclipse.emf.common.util.EList<Trigger>getType()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAligned(boolean newAligned) voidsetAxisPercent(int newAxisPercent) voidsetCategoryAxis(boolean newCategoryAxis) voidvoidsetFormatSpecifier(FormatSpecifier newFormatSpecifier) voidsetGapWidth(double newGapWidth) voidsetInterval(int newInterval) voidvoidsetLabelPosition(Position newLabelPosition) voidsetLabelSpan(double newLabelSpan) voidsetLabelWithinAxes(boolean newLabelWithinAxes) voidsetLineAttributes(LineAttributes newLineAttributes) voidsetMajorGrid(Grid newMajorGrid) voidsetMinorGrid(Grid newMinorGrid) voidsetOrientation(Orientation newOrientation) voidsetOrigin(AxisOrigin newOrigin) voidsetPercent(boolean newPercent) voidsetPrimaryAxis(boolean newPrimaryAxis) voidvoidsetSideBySide(boolean newSideBySide) voidsetStaggered(boolean newStaggered) voidsetSubTitle(Label newSubTitle) voidvoidsetTitlePosition(Position newTitlePosition) voidtoString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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
-
getType
-
setType
-
unsetType
public void unsetType() -
isSetType
public boolean isSetType() -
getTitle
-
basicSetTitle
public org.eclipse.emf.common.notify.NotificationChain basicSetTitle(Label newTitle, org.eclipse.emf.common.notify.NotificationChain msgs) -
setTitle
-
getSubTitle
- Specified by:
getSubTitlein interfaceAxis- Returns:
- the value of the 'Sub Title' containment reference.
- See Also:
-
basicSetSubTitle
public org.eclipse.emf.common.notify.NotificationChain basicSetSubTitle(Label newSubTitle, org.eclipse.emf.common.notify.NotificationChain msgs) -
setSubTitle
- Specified by:
setSubTitlein interfaceAxis- Parameters:
newSubTitle- the new value of the 'Sub Title' containment reference.- See Also:
-
getTitlePosition
- Specified by:
getTitlePositionin interfaceAxis- Returns:
- the value of the 'Title Position' attribute.
- See Also:
-
setTitlePosition
- Specified by:
setTitlePositionin interfaceAxis- Parameters:
newTitlePosition- the new value of the 'Title Position' attribute.- See Also:
-
unsetTitlePosition
public void unsetTitlePosition()- Specified by:
unsetTitlePositionin interfaceAxis- See Also:
-
isSetTitlePosition
public boolean isSetTitlePosition()- Specified by:
isSetTitlePositionin interfaceAxis- Returns:
- whether the value of the 'Title Position' attribute is set.
- See Also:
-
getAssociatedAxes
- Specified by:
getAssociatedAxesin interfaceAxis- Returns:
- the value of the 'Associated Axes' containment reference list.
- See Also:
-
getAncillaryAxes
- Specified by:
getAncillaryAxesin interfaceAxis- Returns:
- the value of the 'Ancillary Axes' containment reference list.
- See Also:
-
getSeriesDefinitions
- Specified by:
getSeriesDefinitionsin interfaceAxis- Returns:
- the value of the 'Series Definitions' containment reference list.
- See Also:
-
getGapWidth
public double getGapWidth()- Specified by:
getGapWidthin interfaceAxis- Returns:
- the value of the 'Gap Width' attribute.
- See Also:
-
setGapWidth
public void setGapWidth(double newGapWidth) - Specified by:
setGapWidthin interfaceAxis- Parameters:
newGapWidth- the new value of the 'Gap Width' attribute.- See Also:
-
unsetGapWidth
public void unsetGapWidth()- Specified by:
unsetGapWidthin interfaceAxis- See Also:
-
isSetGapWidth
public boolean isSetGapWidth()- Specified by:
isSetGapWidthin interfaceAxis- Returns:
- whether the value of the 'Gap Width' attribute is set.
- See Also:
-
getOrientation
- Specified by:
getOrientationin interfaceAxis- Returns:
- the value of the 'Orientation' attribute.
- See Also:
-
setOrientation
- Specified by:
setOrientationin interfaceAxis- Parameters:
newOrientation- the new value of the 'Orientation' attribute.- See Also:
-
unsetOrientation
public void unsetOrientation()- Specified by:
unsetOrientationin interfaceAxis- See Also:
-
isSetOrientation
public boolean isSetOrientation()- Specified by:
isSetOrientationin interfaceAxis- Returns:
- whether the value of the 'Orientation' attribute is set.
- See Also:
-
getLineAttributes
- Specified by:
getLineAttributesin interfaceAxis- 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 interfaceAxis- Parameters:
newLineAttributes- the new value of the 'Line Attributes' containment reference.- See Also:
-
getLabel
-
basicSetLabel
public org.eclipse.emf.common.notify.NotificationChain basicSetLabel(Label newLabel, org.eclipse.emf.common.notify.NotificationChain msgs) -
setLabel
-
getFormatSpecifier
- Specified by:
getFormatSpecifierin interfaceAxis- Returns:
- the value of the 'Format Specifier' containment reference.
- See Also:
-
basicSetFormatSpecifier
public org.eclipse.emf.common.notify.NotificationChain basicSetFormatSpecifier(FormatSpecifier newFormatSpecifier, org.eclipse.emf.common.notify.NotificationChain msgs) -
setFormatSpecifier
- Specified by:
setFormatSpecifierin interfaceAxis- Parameters:
newFormatSpecifier- the new value of the 'Format Specifier' containment reference.- See Also:
-
getLabelPosition
- Specified by:
getLabelPositionin interfaceAxis- Returns:
- the value of the 'Label Position' attribute.
- See Also:
-
setLabelPosition
- Specified by:
setLabelPositionin interfaceAxis- Parameters:
newLabelPosition- the new value of the 'Label Position' attribute.- See Also:
-
unsetLabelPosition
public void unsetLabelPosition()- Specified by:
unsetLabelPositionin interfaceAxis- See Also:
-
isSetLabelPosition
public boolean isSetLabelPosition()- Specified by:
isSetLabelPositionin interfaceAxis- Returns:
- whether the value of the 'Label Position' attribute is set.
- See Also:
-
isStaggered
public boolean isStaggered()- Specified by:
isStaggeredin interfaceAxis- Returns:
- the value of the 'Staggered' attribute.
- See Also:
-
setStaggered
public void setStaggered(boolean newStaggered) - Specified by:
setStaggeredin interfaceAxis- Parameters:
newStaggered- the new value of the 'Staggered' attribute.- See Also:
-
unsetStaggered
public void unsetStaggered()- Specified by:
unsetStaggeredin interfaceAxis- See Also:
-
isSetStaggered
public boolean isSetStaggered()- Specified by:
isSetStaggeredin interfaceAxis- Returns:
- whether the value of the 'Staggered' attribute is set.
- See Also:
-
getInterval
public int getInterval()- Specified by:
getIntervalin interfaceAxis- Returns:
- the value of the 'Interval' attribute.
- See Also:
-
setInterval
public void setInterval(int newInterval) - Specified by:
setIntervalin interfaceAxis- Parameters:
newInterval- the new value of the 'Interval' attribute.- See Also:
-
unsetInterval
public void unsetInterval()- Specified by:
unsetIntervalin interfaceAxis- See Also:
-
isSetInterval
public boolean isSetInterval()- Specified by:
isSetIntervalin interfaceAxis- Returns:
- whether the value of the 'Interval' attribute is set.
- See Also:
-
getMarkerLines
- Specified by:
getMarkerLinesin interfaceAxis- Returns:
- the value of the 'Marker Lines' containment reference list.
- See Also:
-
getMarkerRanges
- Specified by:
getMarkerRangesin interfaceAxis- Returns:
- the value of the 'Marker Ranges' containment reference list.
- See Also:
-
getTriggers
- Specified by:
getTriggersin interfaceAxis- Returns:
- the value of the 'Triggers' containment reference list.
- See Also:
-
getMajorGrid
- Specified by:
getMajorGridin interfaceAxis- Returns:
- the value of the 'Major Grid' containment reference.
- See Also:
-
basicSetMajorGrid
public org.eclipse.emf.common.notify.NotificationChain basicSetMajorGrid(Grid newMajorGrid, org.eclipse.emf.common.notify.NotificationChain msgs) -
setMajorGrid
- Specified by:
setMajorGridin interfaceAxis- Parameters:
newMajorGrid- the new value of the 'Major Grid' containment reference.- See Also:
-
getMinorGrid
- Specified by:
getMinorGridin interfaceAxis- Returns:
- the value of the 'Minor Grid' containment reference.
- See Also:
-
basicSetMinorGrid
public org.eclipse.emf.common.notify.NotificationChain basicSetMinorGrid(Grid newMinorGrid, org.eclipse.emf.common.notify.NotificationChain msgs) -
setMinorGrid
- Specified by:
setMinorGridin interfaceAxis- Parameters:
newMinorGrid- the new value of the 'Minor Grid' containment reference.- See Also:
-
getScale
-
basicSetScale
public org.eclipse.emf.common.notify.NotificationChain basicSetScale(Scale newScale, org.eclipse.emf.common.notify.NotificationChain msgs) -
setScale
-
getOrigin
-
basicSetOrigin
public org.eclipse.emf.common.notify.NotificationChain basicSetOrigin(AxisOrigin newOrigin, org.eclipse.emf.common.notify.NotificationChain msgs) -
setOrigin
-
isPrimaryAxis
public boolean isPrimaryAxis()- Specified by:
isPrimaryAxisin interfaceAxis- Returns:
- the value of the 'Primary Axis' attribute.
- See Also:
-
setPrimaryAxis
public void setPrimaryAxis(boolean newPrimaryAxis) - Specified by:
setPrimaryAxisin interfaceAxis- Parameters:
newPrimaryAxis- the new value of the 'Primary Axis' attribute.- See Also:
-
unsetPrimaryAxis
public void unsetPrimaryAxis()- Specified by:
unsetPrimaryAxisin interfaceAxis- See Also:
-
isSetPrimaryAxis
public boolean isSetPrimaryAxis()- Specified by:
isSetPrimaryAxisin interfaceAxis- Returns:
- whether the value of the 'Primary Axis' attribute is set.
- See Also:
-
isCategoryAxis
public boolean isCategoryAxis()- Specified by:
isCategoryAxisin interfaceAxis- Returns:
- the value of the 'Category Axis' attribute.
- See Also:
-
setCategoryAxis
public void setCategoryAxis(boolean newCategoryAxis) - Specified by:
setCategoryAxisin interfaceAxis- Parameters:
newCategoryAxis- the new value of the 'Category Axis' attribute.- See Also:
-
unsetCategoryAxis
public void unsetCategoryAxis()- Specified by:
unsetCategoryAxisin interfaceAxis- See Also:
-
isSetCategoryAxis
public boolean isSetCategoryAxis()- Specified by:
isSetCategoryAxisin interfaceAxis- Returns:
- whether the value of the 'Category Axis' attribute is set.
- See Also:
-
isPercent
public boolean isPercent() -
setPercent
public void setPercent(boolean newPercent) - Specified by:
setPercentin interfaceAxis- Parameters:
newPercent- the new value of the 'Percent' attribute.- See Also:
-
unsetPercent
public void unsetPercent()- Specified by:
unsetPercentin interfaceAxis- See Also:
-
isSetPercent
public boolean isSetPercent()- Specified by:
isSetPercentin interfaceAxis- Returns:
- whether the value of the 'Percent' attribute is set.
- See Also:
-
isLabelWithinAxes
public boolean isLabelWithinAxes()- Specified by:
isLabelWithinAxesin interfaceAxis- Returns:
- the value of the 'Label Within Axes' attribute.
- See Also:
-
setLabelWithinAxes
public void setLabelWithinAxes(boolean newLabelWithinAxes) - Specified by:
setLabelWithinAxesin interfaceAxis- Parameters:
newLabelWithinAxes- the new value of the 'Label Within Axes' attribute.- See Also:
-
unsetLabelWithinAxes
public void unsetLabelWithinAxes()- Specified by:
unsetLabelWithinAxesin interfaceAxis- See Also:
-
isSetLabelWithinAxes
public boolean isSetLabelWithinAxes()- Specified by:
isSetLabelWithinAxesin interfaceAxis- Returns:
- whether the value of the 'Label Within Axes' attribute is set.
- See Also:
-
isAligned
public boolean isAligned() -
setAligned
public void setAligned(boolean newAligned) - Specified by:
setAlignedin interfaceAxis- Parameters:
newAligned- the new value of the 'Aligned' attribute.- See Also:
-
unsetAligned
public void unsetAligned()- Specified by:
unsetAlignedin interfaceAxis- See Also:
-
isSetAligned
public boolean isSetAligned()- Specified by:
isSetAlignedin interfaceAxis- Returns:
- whether the value of the 'Aligned' attribute is set.
- See Also:
-
isSideBySide
public boolean isSideBySide()- Specified by:
isSideBySidein interfaceAxis- Returns:
- the value of the 'Side By Side' attribute.
- See Also:
-
setSideBySide
public void setSideBySide(boolean newSideBySide) - Specified by:
setSideBySidein interfaceAxis- Parameters:
newSideBySide- the new value of the 'Side By Side' attribute.- See Also:
-
unsetSideBySide
public void unsetSideBySide()- Specified by:
unsetSideBySidein interfaceAxis- See Also:
-
isSetSideBySide
public boolean isSetSideBySide()- Specified by:
isSetSideBySidein interfaceAxis- Returns:
- whether the value of the 'Side By Side' attribute is set.
- See Also:
-
getCursor
-
basicSetCursor
public org.eclipse.emf.common.notify.NotificationChain basicSetCursor(Cursor newCursor, org.eclipse.emf.common.notify.NotificationChain msgs) -
setCursor
-
getLabelSpan
public double getLabelSpan()- Specified by:
getLabelSpanin interfaceAxis- Returns:
- the value of the 'Label Span' attribute.
- See Also:
-
setLabelSpan
public void setLabelSpan(double newLabelSpan) - Specified by:
setLabelSpanin interfaceAxis- Parameters:
newLabelSpan- the new value of the 'Label Span' attribute.- See Also:
-
unsetLabelSpan
public void unsetLabelSpan()- Specified by:
unsetLabelSpanin interfaceAxis- See Also:
-
isSetLabelSpan
public boolean isSetLabelSpan()- Specified by:
isSetLabelSpanin interfaceAxis- Returns:
- whether the value of the 'Label Span' attribute is set.
- See Also:
-
getAxisPercent
public int getAxisPercent()- Specified by:
getAxisPercentin interfaceAxis- Returns:
- the value of the 'Axis Percent' attribute.
- See Also:
-
setAxisPercent
public void setAxisPercent(int newAxisPercent) - Specified by:
setAxisPercentin interfaceAxis- Parameters:
newAxisPercent- the new value of the 'Axis Percent' attribute.- See Also:
-
unsetAxisPercent
public void unsetAxisPercent()- Specified by:
unsetAxisPercentin interfaceAxis- See Also:
-
isSetAxisPercent
public boolean isSetAxisPercent()- Specified by:
isSetAxisPercentin interfaceAxis- Returns:
- whether the value of the 'Axis Percent' 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 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
-
create
A convenience method to create an initialized 'Axis' instance- Parameters:
iAxisType- The type of axis defined by Axis.BASE or Axis.ORTHOGONAL- Returns:
- axis instance with 'isSet' flag.
-
createDefault
A convenience method to create an initialized 'Axis' instance- Parameters:
iAxisType- The type of axis defined by Axis.BASE or Axis.ORTHOGONAL- Returns:
- axis instance without 'isSet' flag.
-
getRuntimeSeries
- Specified by:
getRuntimeSeriesin interfaceAxis- Returns:
- All runtime series associated with a particular axis
-
copyInstance
- Specified by:
copyInstancein interfaceAxis- Specified by:
copyInstancein interfaceIChartObject
-