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.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.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChainbasicSetColor(ColorDefinition newColor, org.eclipse.emf.common.notify.NotificationChain msgs) A convenient method to get an instance copy.static final LineAttributescreate(ColorDefinition cd, LineStyle ls, int iThickness) A convenient method that facilitates implicit initialization of member variables in creation of an instance.static final LineAttributescreateDefault(boolean visible) static final LineAttributescreateDefault(ColorDefinition cd, LineStyle ls, int iThickness) A convenient method that facilitates implicit initialization of member variables in creation of an instance.static final LineAttributescreateDefault(ColorDefinition cd, LineStyle ls, int iThickness, boolean visible) eGet(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) getColor()getStyle()intbooleanbooleanbooleanbooleanvoidset(ColorDefinition cd, LineStyle ls, int iThickness) A convenient method that facilitates initialization of member variables.voidsetColor(ColorDefinition newColor) voidvoidsetThickness(int newThickness) voidsetVisible(boolean newVisible) toString()voidvoidvoidMethods 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
-
getStyle
- Specified by:
getStylein interfaceLineAttributes- Returns:
- the value of the 'Style' attribute.
- See Also:
-
setStyle
- Specified by:
setStylein interfaceLineAttributes- Parameters:
newStyle- the new value of the 'Style' attribute.- See Also:
-
unsetStyle
public void unsetStyle()- Specified by:
unsetStylein interfaceLineAttributes- See Also:
-
isSetStyle
public boolean isSetStyle()- Specified by:
isSetStylein interfaceLineAttributes- Returns:
- whether the value of the 'Style' attribute is set.
- See Also:
-
getThickness
public int getThickness()- Specified by:
getThicknessin interfaceLineAttributes- Returns:
- the value of the 'Thickness' attribute.
- See Also:
-
setThickness
public void setThickness(int newThickness) - Specified by:
setThicknessin interfaceLineAttributes- Parameters:
newThickness- the new value of the 'Thickness' attribute.- See Also:
-
unsetThickness
public void unsetThickness()- Specified by:
unsetThicknessin interfaceLineAttributes- See Also:
-
isSetThickness
public boolean isSetThickness()- Specified by:
isSetThicknessin interfaceLineAttributes- Returns:
- whether the value of the 'Thickness' attribute is set.
- See Also:
-
getColor
- Specified by:
getColorin 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:
setColorin interfaceLineAttributes- Parameters:
newColor- the new value of the 'Color' containment reference.- See Also:
-
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfaceLineAttributes- Returns:
- the value of the 'Visible' attribute.
- See Also:
-
setVisible
public void setVisible(boolean newVisible) - Specified by:
setVisiblein interfaceLineAttributes- Parameters:
newVisible- the new value of the 'Visible' attribute.- See Also:
-
unsetVisible
public void unsetVisible()- Specified by:
unsetVisiblein interfaceLineAttributes- See Also:
-
isSetVisible
public boolean isSetVisible()- Specified by:
isSetVisiblein 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:
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
-
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:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceLineAttributes
-