Class LineAttributesImpl
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.LineAttributesImpl
- All Implemented Interfaces:
LineAttributes
,IChartObject
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
public class LineAttributesImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements LineAttributes
-
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.EScannableAdapterList
Nested 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_FLAG
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChain
basicSetColor
(ColorDefinition newColor, org.eclipse.emf.common.notify.NotificationChain msgs) A convenient method to get an instance copy.static final LineAttributes
create
(ColorDefinition cd, LineStyle ls, int iThickness) A convenient method that facilitates implicit initialization of member variables in creation of an instance.static final LineAttributes
createDefault
(boolean visible) static final LineAttributes
createDefault
(ColorDefinition cd, LineStyle ls, int iThickness) A convenient method that facilitates implicit initialization of member variables in creation of an instance.static final LineAttributes
createDefault
(ColorDefinition cd, LineStyle ls, int iThickness, boolean visible) 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
void
eUnset
(int featureID) getColor()
getStyle()
int
boolean
boolean
boolean
boolean
void
set
(ColorDefinition cd, LineStyle ls, int iThickness) A convenient method that facilitates initialization of member variables.void
setColor
(ColorDefinition newColor) void
void
setThickness
(int newThickness) void
setVisible
(boolean newVisible) toString()
void
void
void
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.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getStyle
- Specified by:
getStyle
in interfaceLineAttributes
- Returns:
- the value of the 'Style' attribute.
- See Also:
-
setStyle
- Specified by:
setStyle
in interfaceLineAttributes
- Parameters:
newStyle
- the new value of the 'Style' attribute.- See Also:
-
unsetStyle
public void unsetStyle()- Specified by:
unsetStyle
in interfaceLineAttributes
- See Also:
-
isSetStyle
public boolean isSetStyle()- Specified by:
isSetStyle
in interfaceLineAttributes
- Returns:
- whether the value of the 'Style' attribute is set.
- See Also:
-
getThickness
public int getThickness()- Specified by:
getThickness
in interfaceLineAttributes
- Returns:
- the value of the 'Thickness' attribute.
- See Also:
-
setThickness
public void setThickness(int newThickness) - Specified by:
setThickness
in interfaceLineAttributes
- Parameters:
newThickness
- the new value of the 'Thickness' attribute.- See Also:
-
unsetThickness
public void unsetThickness()- Specified by:
unsetThickness
in interfaceLineAttributes
- See Also:
-
isSetThickness
public boolean isSetThickness()- Specified by:
isSetThickness
in interfaceLineAttributes
- Returns:
- whether the value of the 'Thickness' attribute is set.
- See Also:
-
getColor
- Specified by:
getColor
in interfaceLineAttributes
- Returns:
- the value of the 'Color' containment reference.
- See Also:
-
basicSetColor
public org.eclipse.emf.common.notify.NotificationChain basicSetColor(ColorDefinition newColor, org.eclipse.emf.common.notify.NotificationChain msgs) -
setColor
- Specified by:
setColor
in interfaceLineAttributes
- Parameters:
newColor
- the new value of the 'Color' containment reference.- See Also:
-
isVisible
public boolean isVisible()- Specified by:
isVisible
in interfaceLineAttributes
- Returns:
- the value of the 'Visible' attribute.
- See Also:
-
setVisible
public void setVisible(boolean newVisible) - Specified by:
setVisible
in interfaceLineAttributes
- Parameters:
newVisible
- the new value of the 'Visible' attribute.- See Also:
-
unsetVisible
public void unsetVisible()- Specified by:
unsetVisible
in interfaceLineAttributes
- See Also:
-
isSetVisible
public boolean isSetVisible()- Specified by:
isSetVisible
in interfaceLineAttributes
- Returns:
- whether the value of the 'Visible' 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:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
set
A convenient method that facilitates initialization of member variables. Note: Manually written- Parameters:
cd
-ls
-iThickness
-
-
create
A convenient method that facilitates implicit initialization of member variables in creation of an instance. Note: Manually written- Parameters:
cd
-ls
-iThickness
-- Returns:
-
createDefault
A convenient method that facilitates implicit initialization of member variables in creation of an instance. Note: Manually written- Parameters:
cd
-ls
-iThickness
-- Returns:
-
createDefault
-
createDefault
public static final LineAttributes createDefault(ColorDefinition cd, LineStyle ls, int iThickness, boolean visible) -
copyInstance
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().- Specified by:
copyInstance
in interfaceIChartObject
- Specified by:
copyInstance
in interfaceLineAttributes
-