Class StyleImpl
- 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.StyleImpl
-
- All Implemented Interfaces:
Style
,IChartObject
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
public class StyleImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Style
An implementation of the model object 'Style'.The following features are implemented:
-
-
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.NotificationChain
basicSetBackgroundColor(ColorDefinition newBackgroundColor, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
basicSetBackgroundImage(Image newBackgroundImage, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
basicSetColor(ColorDefinition newColor, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
basicSetFont(FontDefinition newFont, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
basicSetPadding(Insets newPadding, org.eclipse.emf.common.notify.NotificationChain msgs)
Style
copyInstance()
static Style
create(FontDefinition font, ColorDefinition color, ColorDefinition backcolor, Image backimage, Insets padding)
java.lang.Object
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
eSet(int featureID, java.lang.Object newValue)
void
eUnset(int featureID)
ColorDefinition
getBackgroundColor()
Image
getBackgroundImage()
ColorDefinition
getColor()
FontDefinition
getFont()
Insets
getPadding()
void
setBackgroundColor(ColorDefinition newBackgroundColor)
void
setBackgroundImage(Image newBackgroundImage)
void
setColor(ColorDefinition newColor)
void
setFont(FontDefinition newFont)
void
setPadding(Insets newPadding)
-
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, toString
-
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
-
getFont
public FontDefinition getFont()
- Specified by:
getFont
in interfaceStyle
- Returns:
- the value of the 'Font' containment reference.
- See Also:
Style.setFont(FontDefinition)
,AttributePackage.getStyle_Font()
-
basicSetFont
public org.eclipse.emf.common.notify.NotificationChain basicSetFont(FontDefinition newFont, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setFont
public void setFont(FontDefinition newFont)
- Specified by:
setFont
in interfaceStyle
- Parameters:
newFont
- the new value of the 'Font' containment reference.- See Also:
Style.getFont()
-
getColor
public ColorDefinition getColor()
- Specified by:
getColor
in interfaceStyle
- Returns:
- the value of the 'Color' containment reference.
- See Also:
Style.setColor(ColorDefinition)
,AttributePackage.getStyle_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:
setColor
in interfaceStyle
- Parameters:
newColor
- the new value of the 'Color' containment reference.- See Also:
Style.getColor()
-
getBackgroundColor
public ColorDefinition getBackgroundColor()
- Specified by:
getBackgroundColor
in interfaceStyle
- Returns:
- the value of the 'Background Color' containment reference.
- See Also:
Style.setBackgroundColor(ColorDefinition)
,AttributePackage.getStyle_BackgroundColor()
-
basicSetBackgroundColor
public org.eclipse.emf.common.notify.NotificationChain basicSetBackgroundColor(ColorDefinition newBackgroundColor, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setBackgroundColor
public void setBackgroundColor(ColorDefinition newBackgroundColor)
- Specified by:
setBackgroundColor
in interfaceStyle
- Parameters:
newBackgroundColor
- the new value of the 'Background Color' containment reference.- See Also:
Style.getBackgroundColor()
-
getBackgroundImage
public Image getBackgroundImage()
- Specified by:
getBackgroundImage
in interfaceStyle
- Returns:
- the value of the 'Background Image' containment reference.
- See Also:
Style.setBackgroundImage(Image)
,AttributePackage.getStyle_BackgroundImage()
-
basicSetBackgroundImage
public org.eclipse.emf.common.notify.NotificationChain basicSetBackgroundImage(Image newBackgroundImage, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setBackgroundImage
public void setBackgroundImage(Image newBackgroundImage)
- Specified by:
setBackgroundImage
in interfaceStyle
- Parameters:
newBackgroundImage
- the new value of the 'Background Image' containment reference.- See Also:
Style.getBackgroundImage()
-
getPadding
public Insets getPadding()
- Specified by:
getPadding
in interfaceStyle
- Returns:
- the value of the 'Padding' containment reference.
- See Also:
Style.setPadding(Insets)
,AttributePackage.getStyle_Padding()
-
basicSetPadding
public org.eclipse.emf.common.notify.NotificationChain basicSetPadding(Insets newPadding, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setPadding
public void setPadding(Insets newPadding)
- Specified by:
setPadding
in interfaceStyle
- Parameters:
newPadding
- the new value of the 'Padding' containment reference.- See Also:
Style.getPadding()
-
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
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- 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
-
create
public static Style create(FontDefinition font, ColorDefinition color, ColorDefinition backcolor, Image backimage, Insets padding)
- Parameters:
font
-color
-backcolor
-backimage
-padding
-- Returns:
-
copyInstance
public Style copyInstance()
- Specified by:
copyInstance
in interfaceIChartObject
- Specified by:
copyInstance
in interfaceStyle
-
-