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 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.NotificationChainbasicSetColor(ColorDefinition newColor, org.eclipse.emf.common.notify.NotificationChain msgs)LineAttributescopyInstance()A convenient method to get an instance copy.static LineAttributescreate(ColorDefinition cd, LineStyle ls, int iThickness)A convenient method that facilitates implicit initialization of member variables in creation of an instance.static LineAttributescreateDefault(boolean visible)static LineAttributescreateDefault(ColorDefinition cd, LineStyle ls, int iThickness)A convenient method that facilitates implicit initialization of member variables in creation of an instance.static LineAttributescreateDefault(ColorDefinition cd, LineStyle ls, int iThickness, 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)ColorDefinitiongetColor()LineStylegetStyle()intgetThickness()booleanisSetStyle()booleanisSetThickness()booleanisSetVisible()booleanisVisible()voidset(ColorDefinition cd, LineStyle ls, int iThickness)A convenient method that facilitates initialization of member variables.voidsetColor(ColorDefinition newColor)voidsetStyle(LineStyle newStyle)voidsetThickness(int newThickness)voidsetVisible(boolean newVisible)java.lang.StringtoString()voidunsetStyle()voidunsetThickness()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
-
getStyle
public LineStyle getStyle()
- Specified by:
getStylein interfaceLineAttributes- Returns:
- the value of the 'Style' attribute.
- See Also:
LineStyle,LineAttributes.isSetStyle(),LineAttributes.unsetStyle(),LineAttributes.setStyle(LineStyle),AttributePackage.getLineAttributes_Style()
-
setStyle
public void setStyle(LineStyle newStyle)
- Specified by:
setStylein interfaceLineAttributes- Parameters:
newStyle- the new value of the 'Style' attribute.- See Also:
LineStyle,LineAttributes.isSetStyle(),LineAttributes.unsetStyle(),LineAttributes.getStyle()
-
unsetStyle
public void unsetStyle()
- Specified by:
unsetStylein interfaceLineAttributes- See Also:
LineAttributes.isSetStyle(),LineAttributes.getStyle(),LineAttributes.setStyle(LineStyle)
-
isSetStyle
public boolean isSetStyle()
- Specified by:
isSetStylein interfaceLineAttributes- Returns:
- whether the value of the 'Style' attribute is set.
- See Also:
LineAttributes.unsetStyle(),LineAttributes.getStyle(),LineAttributes.setStyle(LineStyle)
-
getThickness
public int getThickness()
- Specified by:
getThicknessin interfaceLineAttributes- Returns:
- the value of the 'Thickness' attribute.
- See Also:
LineAttributes.isSetThickness(),LineAttributes.unsetThickness(),LineAttributes.setThickness(int),AttributePackage.getLineAttributes_Thickness()
-
setThickness
public void setThickness(int newThickness)
- Specified by:
setThicknessin interfaceLineAttributes- Parameters:
newThickness- the new value of the 'Thickness' attribute.- See Also:
LineAttributes.isSetThickness(),LineAttributes.unsetThickness(),LineAttributes.getThickness()
-
unsetThickness
public void unsetThickness()
- Specified by:
unsetThicknessin interfaceLineAttributes- See Also:
LineAttributes.isSetThickness(),LineAttributes.getThickness(),LineAttributes.setThickness(int)
-
isSetThickness
public boolean isSetThickness()
- Specified by:
isSetThicknessin interfaceLineAttributes- Returns:
- whether the value of the 'Thickness' attribute is set.
- See Also:
LineAttributes.unsetThickness(),LineAttributes.getThickness(),LineAttributes.setThickness(int)
-
getColor
public ColorDefinition getColor()
- Specified by:
getColorin interfaceLineAttributes- Returns:
- the value of the 'Color' containment reference.
- See Also:
LineAttributes.setColor(ColorDefinition),AttributePackage.getLineAttributes_Color()
-
basicSetColor
public org.eclipse.emf.common.notify.NotificationChain basicSetColor(ColorDefinition newColor, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setColor
public void setColor(ColorDefinition newColor)
- Specified by:
setColorin interfaceLineAttributes- Parameters:
newColor- the new value of the 'Color' containment reference.- See Also:
LineAttributes.getColor()
-
isVisible
public boolean isVisible()
- Specified by:
isVisiblein interfaceLineAttributes- Returns:
- the value of the 'Visible' attribute.
- See Also:
LineAttributes.isSetVisible(),LineAttributes.unsetVisible(),LineAttributes.setVisible(boolean),AttributePackage.getLineAttributes_Visible()
-
setVisible
public void setVisible(boolean newVisible)
- Specified by:
setVisiblein interfaceLineAttributes- Parameters:
newVisible- the new value of the 'Visible' attribute.- See Also:
LineAttributes.isSetVisible(),LineAttributes.unsetVisible(),LineAttributes.isVisible()
-
unsetVisible
public void unsetVisible()
- Specified by:
unsetVisiblein interfaceLineAttributes- See Also:
LineAttributes.isSetVisible(),LineAttributes.isVisible(),LineAttributes.setVisible(boolean)
-
isSetVisible
public boolean isSetVisible()
- Specified by:
isSetVisiblein interfaceLineAttributes- Returns:
- whether the value of the 'Visible' attribute is set.
- See Also:
LineAttributes.unsetVisible(),LineAttributes.isVisible(),LineAttributes.setVisible(boolean)
-
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
-
set
public void set(ColorDefinition cd, LineStyle ls, int iThickness)
A convenient method that facilitates initialization of member variables. Note: Manually written- Parameters:
cd-ls-iThickness-
-
create
public 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. Note: Manually written- Parameters:
cd-ls-iThickness-- Returns:
-
createDefault
public 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. Note: Manually written- Parameters:
cd-ls-iThickness-- Returns:
-
createDefault
public static final LineAttributes createDefault(boolean visible)
-
createDefault
public static final LineAttributes createDefault(ColorDefinition cd, LineStyle ls, int iThickness, boolean visible)
-
copyInstance
public LineAttributes 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
-
-