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
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 Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Modifier and TypeFieldDescriptionprotected Color
The cached value of the 'Background
' reference.protected Font
The cached value of the 'Font
' reference.protected Color
The cached value of the 'Foreground
' reference.protected boolean
The cached value of the 'Strikeout
' attribute.protected static final boolean
The default value of the 'Strikeout
' attribute.protected Color
The cached value of the 'Strikeout Color
' reference.protected boolean
The cached value of the 'Underline
' attribute.protected static final boolean
The default value of the 'Underline
' attribute.protected static final UnderlineStyle
The default value of the 'Underline Style
' attribute.protected Color
The cached value of the 'Underline Color
' reference.protected UnderlineStyle
The 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
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneGet
(int featureID, boolean resolve, boolean coreType) boolean
eIsSet
(int featureID) void
protected org.eclipse.emf.ecore.EClass
void
eUnset
(int featureID) getFont()
boolean
boolean
void
setBackground
(Color newBackground) void
void
setForeground
(Color newForeground) void
setStrikeout
(boolean newStrikeout) void
setStrikeoutColor
(Color newStrikeoutColor) void
setUnderline
(boolean newUnderline) void
setUnderlineColor
(Color newUnderlineColor) void
setUnderlineStyle
(UnderlineStyle newUnderlineStyle) toString()
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
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
UNDERLINE_EDEFAULT
protected static final boolean UNDERLINE_EDEFAULTThe default value of the 'Underline
' attribute.- See Also:
-
underline
protected boolean underlineThe cached value of the 'Underline
' attribute.- See Also:
-
UNDERLINE_STYLE_EDEFAULT
The default value of the 'Underline Style
' attribute.- See Also:
-
underlineStyle
The cached value of the 'Underline Style
' attribute.- See Also:
-
STRIKEOUT_EDEFAULT
protected static final boolean STRIKEOUT_EDEFAULTThe default value of the 'Strikeout
' attribute.- See Also:
-
strikeout
protected boolean strikeoutThe cached value of the 'Strikeout
' attribute.- See Also:
-
font
The cached value of the 'Font
' reference.- See Also:
-
foreground
The cached value of the 'Foreground
' reference.- See Also:
-
background
The cached value of the 'Background
' reference.- See Also:
-
underlineColor
The cached value of the 'Underline Color
' reference.- See Also:
-
strikeoutColor
The cached value of the 'Strikeout Color
' reference.- See Also:
-
-
Constructor Details
-
TextStyleImpl
protected TextStyleImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.EObjectImpl
-
isUnderline
public boolean isUnderline()- Specified by:
isUnderline
in interfaceTextStyle
- Returns:
- the value of the 'Underline' attribute.
- See Also:
-
setUnderline
public void setUnderline(boolean newUnderline) - Specified by:
setUnderline
in interfaceTextStyle
- Parameters:
newUnderline
- the new value of the 'Underline' attribute.- See Also:
-
getUnderlineStyle
- Specified by:
getUnderlineStyle
in interfaceTextStyle
- Returns:
- the value of the 'Underline Style' attribute.
- See Also:
-
setUnderlineStyle
- Specified by:
setUnderlineStyle
in interfaceTextStyle
- Parameters:
newUnderlineStyle
- the new value of the 'Underline Style' attribute.- See Also:
-
isStrikeout
public boolean isStrikeout()- Specified by:
isStrikeout
in interfaceTextStyle
- Returns:
- the value of the 'Strikeout' attribute.
- See Also:
-
setStrikeout
public void setStrikeout(boolean newStrikeout) - Specified by:
setStrikeout
in interfaceTextStyle
- Parameters:
newStrikeout
- the new value of the 'Strikeout' attribute.- See Also:
-
getFont
-
basicGetFont
-
setFont
-
getForeground
- Specified by:
getForeground
in interfaceTextStyle
- Returns:
- the value of the 'Foreground' reference.
- See Also:
-
basicGetForeground
-
setForeground
- Specified by:
setForeground
in interfaceTextStyle
- Parameters:
newForeground
- the new value of the 'Foreground' reference.- See Also:
-
getBackground
- Specified by:
getBackground
in interfaceTextStyle
- Returns:
- the value of the 'Background' reference.
- See Also:
-
basicGetBackground
-
setBackground
- Specified by:
setBackground
in interfaceTextStyle
- Parameters:
newBackground
- the new value of the 'Background' reference.- See Also:
-
getUnderlineColor
- Specified by:
getUnderlineColor
in interfaceTextStyle
- Returns:
- the value of the 'Underline Color' reference.
- See Also:
-
basicGetUnderlineColor
-
setUnderlineColor
- Specified by:
setUnderlineColor
in interfaceTextStyle
- Parameters:
newUnderlineColor
- the new value of the 'Underline Color' reference.- See Also:
-
getStrikeoutColor
- Specified by:
getStrikeoutColor
in interfaceTextStyle
- Returns:
- the value of the 'Strikeout Color' reference.
- See Also:
-
basicGetStrikeoutColor
-
setStrikeoutColor
- Specified by:
setStrikeoutColor
in interfaceTextStyle
- Parameters:
newStrikeoutColor
- the new value of the 'Strikeout Color' reference.- See Also:
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- 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
-
toString
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-