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.NotificationChainbasicSetBackgroundColor(ColorDefinition newBackgroundColor, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetBackgroundImage(Image newBackgroundImage, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetColor(ColorDefinition newColor, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetFont(FontDefinition newFont, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetPadding(Insets newPadding, org.eclipse.emf.common.notify.NotificationChain msgs)StylecopyInstance()static Stylecreate(FontDefinition font, ColorDefinition color, ColorDefinition backcolor, Image backimage, Insets padding)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)ColorDefinitiongetBackgroundColor()ImagegetBackgroundImage()ColorDefinitiongetColor()FontDefinitiongetFont()InsetsgetPadding()voidsetBackgroundColor(ColorDefinition newBackgroundColor)voidsetBackgroundImage(Image newBackgroundImage)voidsetColor(ColorDefinition newColor)voidsetFont(FontDefinition newFont)voidsetPadding(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:
getFontin 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:
setFontin interfaceStyle- Parameters:
newFont- the new value of the 'Font' containment reference.- See Also:
Style.getFont()
-
getColor
public ColorDefinition getColor()
- Specified by:
getColorin 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:
setColorin interfaceStyle- Parameters:
newColor- the new value of the 'Color' containment reference.- See Also:
Style.getColor()
-
getBackgroundColor
public ColorDefinition getBackgroundColor()
- Specified by:
getBackgroundColorin 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:
setBackgroundColorin interfaceStyle- Parameters:
newBackgroundColor- the new value of the 'Background Color' containment reference.- See Also:
Style.getBackgroundColor()
-
getBackgroundImage
public Image getBackgroundImage()
- Specified by:
getBackgroundImagein 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:
setBackgroundImagein interfaceStyle- Parameters:
newBackgroundImage- the new value of the 'Background Image' containment reference.- See Also:
Style.getBackgroundImage()
-
getPadding
public Insets getPadding()
- Specified by:
getPaddingin 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:
setPaddingin 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:
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
-
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:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceStyle
-
-