Class MarkerImpl
- 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.attribute.impl.MarkerImpl
-
- All Implemented Interfaces:
Marker,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
public class MarkerImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Marker
-
-
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 org.eclipse.emf.common.notify.NotificationChainbasicSetFill(Fill newFill, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetIconPalette(Palette newIconPalette, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetOutline(LineAttributes newOutline, org.eclipse.emf.common.notify.NotificationChain msgs)MarkercopyInstance()A convenient method to get an instance copy.static MarkercopyInstanceNoFill(Marker src)For accelerating graphic purpose make a fast copy of a Marker without iconPalette, which is obsolete, and the fill, which will be changed in many cases.static Markercreate(MarkerType markerType, int size)static MarkercreateDefault(MarkerType markerType, int size, boolean visible)java.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)FillgetFill()PalettegetIconPalette()LineAttributesgetOutline()intgetSize()MarkerTypegetType()booleanisSetSize()booleanisSetType()booleanisSetVisible()booleanisVisible()voidsetFill(Fill newFill)static voidsetFillSimple(Marker marker, Fill fill)To set the fill without EMF notifying for accelerating graphic purpose.voidsetIconPalette(Palette newIconPalette)voidsetOutline(LineAttributes newOutline)voidsetSize(int newSize)voidsetType(MarkerType newType)voidsetVisible(boolean newVisible)java.lang.StringtoString()voidunsetSize()voidunsetType()voidunsetVisible()-
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
-
-
-
-
Method Detail
-
getType
public MarkerType getType()
- Specified by:
getTypein interfaceMarker- Returns:
- the value of the 'Type' attribute.
- See Also:
MarkerType,Marker.isSetType(),Marker.unsetType(),Marker.setType(MarkerType),AttributePackage.getMarker_Type()
-
setType
public void setType(MarkerType newType)
- Specified by:
setTypein interfaceMarker- Parameters:
newType- the new value of the 'Type' attribute.- See Also:
MarkerType,Marker.isSetType(),Marker.unsetType(),Marker.getType()
-
unsetType
public void unsetType()
- Specified by:
unsetTypein interfaceMarker- See Also:
Marker.isSetType(),Marker.getType(),Marker.setType(MarkerType)
-
isSetType
public boolean isSetType()
- Specified by:
isSetTypein interfaceMarker- Returns:
- whether the value of the 'Type' attribute is set.
- See Also:
Marker.unsetType(),Marker.getType(),Marker.setType(MarkerType)
-
getSize
public int getSize()
- Specified by:
getSizein interfaceMarker- Returns:
- the value of the 'Size' attribute.
- See Also:
Marker.isSetSize(),Marker.unsetSize(),Marker.setSize(int),AttributePackage.getMarker_Size()
-
setSize
public void setSize(int newSize)
- Specified by:
setSizein interfaceMarker- Parameters:
newSize- the new value of the 'Size' attribute.- See Also:
Marker.isSetSize(),Marker.unsetSize(),Marker.getSize()
-
unsetSize
public void unsetSize()
- Specified by:
unsetSizein interfaceMarker- See Also:
Marker.isSetSize(),Marker.getSize(),Marker.setSize(int)
-
isSetSize
public boolean isSetSize()
- Specified by:
isSetSizein interfaceMarker- Returns:
- whether the value of the 'Size' attribute is set.
- See Also:
Marker.unsetSize(),Marker.getSize(),Marker.setSize(int)
-
isVisible
public boolean isVisible()
- Specified by:
isVisiblein interfaceMarker- Returns:
- the value of the 'Visible' attribute.
- See Also:
Marker.isSetVisible(),Marker.unsetVisible(),Marker.setVisible(boolean),AttributePackage.getMarker_Visible()
-
setVisible
public void setVisible(boolean newVisible)
- Specified by:
setVisiblein interfaceMarker- Parameters:
newVisible- the new value of the 'Visible' attribute.- See Also:
Marker.isSetVisible(),Marker.unsetVisible(),Marker.isVisible()
-
unsetVisible
public void unsetVisible()
- Specified by:
unsetVisiblein interfaceMarker- See Also:
Marker.isSetVisible(),Marker.isVisible(),Marker.setVisible(boolean)
-
isSetVisible
public boolean isSetVisible()
- Specified by:
isSetVisiblein interfaceMarker- Returns:
- whether the value of the 'Visible' attribute is set.
- See Also:
Marker.unsetVisible(),Marker.isVisible(),Marker.setVisible(boolean)
-
getFill
public Fill getFill()
- Specified by:
getFillin interfaceMarker- Returns:
- the value of the 'Fill' containment reference.
- See Also:
Marker.setFill(Fill),AttributePackage.getMarker_Fill()
-
basicSetFill
public org.eclipse.emf.common.notify.NotificationChain basicSetFill(Fill newFill, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setFill
public void setFill(Fill newFill)
- Specified by:
setFillin interfaceMarker- Parameters:
newFill- the new value of the 'Fill' containment reference.- See Also:
Marker.getFill()
-
getIconPalette
public Palette getIconPalette()
- Specified by:
getIconPalettein interfaceMarker- Returns:
- the value of the 'Icon Palette' containment reference.
- See Also:
Marker.setIconPalette(Palette),AttributePackage.getMarker_IconPalette()
-
basicSetIconPalette
public org.eclipse.emf.common.notify.NotificationChain basicSetIconPalette(Palette newIconPalette, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setIconPalette
public void setIconPalette(Palette newIconPalette)
- Specified by:
setIconPalettein interfaceMarker- Parameters:
newIconPalette- the new value of the 'Icon Palette' containment reference.- See Also:
Marker.getIconPalette()
-
getOutline
public LineAttributes getOutline()
- Specified by:
getOutlinein interfaceMarker- Returns:
- the value of the 'Outline' containment reference.
- See Also:
Marker.setOutline(LineAttributes),AttributePackage.getMarker_Outline()
-
basicSetOutline
public org.eclipse.emf.common.notify.NotificationChain basicSetOutline(LineAttributes newOutline, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setOutline
public void setOutline(LineAttributes newOutline)
- Specified by:
setOutlinein interfaceMarker- Parameters:
newOutline- the new value of the 'Outline' containment reference.- See Also:
Marker.getOutline()
-
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
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- 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
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
create
public static final Marker create(MarkerType markerType, int size)
-
createDefault
public static final Marker createDefault(MarkerType markerType, int size, boolean visible)
-
copyInstanceNoFill
public static final Marker copyInstanceNoFill(Marker src)
For accelerating graphic purpose make a fast copy of a Marker without iconPalette, which is obsolete, and the fill, which will be changed in many cases. Using the setFillSimple to set the fill faster.- Parameters:
src-- Returns:
- marker instance
-
setFillSimple
public static final void setFillSimple(Marker marker, Fill fill)
To set the fill without EMF notifying for accelerating graphic purpose.- Parameters:
marker-fill-
-
copyInstance
public Marker copyInstance()
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().- Specified by:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceMarker
-
-