Class TextStyleImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- org.eclipse.graphiti.mm.algorithms.styles.impl.TextStyleImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject,TextStyle
public class TextStyleImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements TextStyle
An implementation of the model object 'Text Style'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
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
-
-
Field Summary
Fields Modifier and Type Field Description protected ColorbackgroundThe cached value of the 'Background' reference.protected FontfontThe cached value of the 'Font' reference.protected ColorforegroundThe cached value of the 'Foreground' reference.protected booleanstrikeoutThe cached value of the 'Strikeout' attribute.protected static booleanSTRIKEOUT_EDEFAULTThe default value of the 'Strikeout' attribute.protected ColorstrikeoutColorThe cached value of the 'Strikeout Color' reference.protected booleanunderlineThe cached value of the 'Underline' attribute.protected static booleanUNDERLINE_EDEFAULTThe default value of the 'Underline' attribute.protected static UnderlineStyleUNDERLINE_STYLE_EDEFAULTThe default value of the 'Underline Style' attribute.protected ColorunderlineColorThe cached value of the 'Underline Color' reference.protected UnderlineStyleunderlineStyleThe cached value of the 'Underline Style' attribute.-
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTextStyleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorbasicGetBackground()FontbasicGetFont()ColorbasicGetForeground()ColorbasicGetStrikeoutColor()ColorbasicGetUnderlineColor()java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)ColorgetBackground()FontgetFont()ColorgetForeground()ColorgetStrikeoutColor()ColorgetUnderlineColor()UnderlineStylegetUnderlineStyle()booleanisStrikeout()booleanisUnderline()voidsetBackground(Color newBackground)voidsetFont(Font newFont)voidsetForeground(Color newForeground)voidsetStrikeout(boolean newStrikeout)voidsetStrikeoutColor(Color newStrikeoutColor)voidsetUnderline(boolean newUnderline)voidsetUnderlineColor(Color newUnderlineColor)voidsetUnderlineStyle(UnderlineStyle newUnderlineStyle)java.lang.StringtoString()-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
UNDERLINE_EDEFAULT
protected static final boolean UNDERLINE_EDEFAULT
The default value of the 'Underline' attribute.- See Also:
isUnderline(), Constant Field Values
-
underline
protected boolean underline
The cached value of the 'Underline' attribute.- See Also:
isUnderline()
-
UNDERLINE_STYLE_EDEFAULT
protected static final UnderlineStyle UNDERLINE_STYLE_EDEFAULT
The default value of the 'Underline Style' attribute.- See Also:
getUnderlineStyle()
-
underlineStyle
protected UnderlineStyle underlineStyle
The cached value of the 'Underline Style' attribute.- See Also:
getUnderlineStyle()
-
STRIKEOUT_EDEFAULT
protected static final boolean STRIKEOUT_EDEFAULT
The default value of the 'Strikeout' attribute.- See Also:
isStrikeout(), Constant Field Values
-
strikeout
protected boolean strikeout
The cached value of the 'Strikeout' attribute.- See Also:
isStrikeout()
-
foreground
protected Color foreground
The cached value of the 'Foreground' reference.- See Also:
getForeground()
-
background
protected Color background
The cached value of the 'Background' reference.- See Also:
getBackground()
-
underlineColor
protected Color underlineColor
The cached value of the 'Underline Color' reference.- See Also:
getUnderlineColor()
-
strikeoutColor
protected Color strikeoutColor
The cached value of the 'Strikeout Color' reference.- See Also:
getStrikeoutColor()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classorg.eclipse.emf.ecore.impl.EObjectImpl
-
isUnderline
public boolean isUnderline()
- Specified by:
isUnderlinein interfaceTextStyle- Returns:
- the value of the 'Underline' attribute.
- See Also:
TextStyle.setUnderline(boolean),StylesPackage.getTextStyle_Underline()
-
setUnderline
public void setUnderline(boolean newUnderline)
- Specified by:
setUnderlinein interfaceTextStyle- Parameters:
newUnderline- the new value of the 'Underline' attribute.- See Also:
TextStyle.isUnderline()
-
getUnderlineStyle
public UnderlineStyle getUnderlineStyle()
- Specified by:
getUnderlineStylein interfaceTextStyle- Returns:
- the value of the 'Underline Style' attribute.
- See Also:
UnderlineStyle,TextStyle.setUnderlineStyle(UnderlineStyle),StylesPackage.getTextStyle_UnderlineStyle()
-
setUnderlineStyle
public void setUnderlineStyle(UnderlineStyle newUnderlineStyle)
- Specified by:
setUnderlineStylein interfaceTextStyle- Parameters:
newUnderlineStyle- the new value of the 'Underline Style' attribute.- See Also:
UnderlineStyle,TextStyle.getUnderlineStyle()
-
isStrikeout
public boolean isStrikeout()
- Specified by:
isStrikeoutin interfaceTextStyle- Returns:
- the value of the 'Strikeout' attribute.
- See Also:
TextStyle.setStrikeout(boolean),StylesPackage.getTextStyle_Strikeout()
-
setStrikeout
public void setStrikeout(boolean newStrikeout)
- Specified by:
setStrikeoutin interfaceTextStyle- Parameters:
newStrikeout- the new value of the 'Strikeout' attribute.- See Also:
TextStyle.isStrikeout()
-
getFont
public Font getFont()
- Specified by:
getFontin interfaceTextStyle- Returns:
- the value of the 'Font' reference.
- See Also:
TextStyle.setFont(Font),StylesPackage.getTextStyle_Font()
-
basicGetFont
public Font basicGetFont()
-
setFont
public void setFont(Font newFont)
- Specified by:
setFontin interfaceTextStyle- Parameters:
newFont- the new value of the 'Font' reference.- See Also:
TextStyle.getFont()
-
getForeground
public Color getForeground()
- Specified by:
getForegroundin interfaceTextStyle- Returns:
- the value of the 'Foreground' reference.
- See Also:
TextStyle.setForeground(Color),StylesPackage.getTextStyle_Foreground()
-
basicGetForeground
public Color basicGetForeground()
-
setForeground
public void setForeground(Color newForeground)
- Specified by:
setForegroundin interfaceTextStyle- Parameters:
newForeground- the new value of the 'Foreground' reference.- See Also:
TextStyle.getForeground()
-
getBackground
public Color getBackground()
- Specified by:
getBackgroundin interfaceTextStyle- Returns:
- the value of the 'Background' reference.
- See Also:
TextStyle.setBackground(Color),StylesPackage.getTextStyle_Background()
-
basicGetBackground
public Color basicGetBackground()
-
setBackground
public void setBackground(Color newBackground)
- Specified by:
setBackgroundin interfaceTextStyle- Parameters:
newBackground- the new value of the 'Background' reference.- See Also:
TextStyle.getBackground()
-
getUnderlineColor
public Color getUnderlineColor()
- Specified by:
getUnderlineColorin interfaceTextStyle- Returns:
- the value of the 'Underline Color' reference.
- See Also:
TextStyle.setUnderlineColor(Color),StylesPackage.getTextStyle_UnderlineColor()
-
basicGetUnderlineColor
public Color basicGetUnderlineColor()
-
setUnderlineColor
public void setUnderlineColor(Color newUnderlineColor)
- Specified by:
setUnderlineColorin interfaceTextStyle- Parameters:
newUnderlineColor- the new value of the 'Underline Color' reference.- See Also:
TextStyle.getUnderlineColor()
-
getStrikeoutColor
public Color getStrikeoutColor()
- Specified by:
getStrikeoutColorin interfaceTextStyle- Returns:
- the value of the 'Strikeout Color' reference.
- See Also:
TextStyle.setStrikeoutColor(Color),StylesPackage.getTextStyle_StrikeoutColor()
-
basicGetStrikeoutColor
public Color basicGetStrikeoutColor()
-
setStrikeoutColor
public void setStrikeoutColor(Color newStrikeoutColor)
- Specified by:
setStrikeoutColorin interfaceTextStyle- Parameters:
newStrikeoutColor- the new value of the 'Strikeout Color' reference.- See Also:
TextStyle.getStrikeoutColor()
-
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
-
-