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.EPropertiesHolderImplNested 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.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ColorThe cached value of the 'Background' reference.protected FontThe cached value of the 'Font' reference.protected ColorThe cached value of the 'Foreground' reference.protected booleanThe cached value of the 'Strikeout' attribute.protected static final booleanThe default value of the 'Strikeout' attribute.protected ColorThe cached value of the 'Strikeout Color' reference.protected booleanThe cached value of the 'Underline' attribute.protected static final booleanThe default value of the 'Underline' attribute.protected static final UnderlineStyleThe default value of the 'Underline Style' attribute.protected ColorThe cached value of the 'Underline Color' reference.protected UnderlineStyleThe 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, EPROXYFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneGet(int featureID, boolean resolve, boolean coreType) booleaneIsSet(int featureID) voidprotected org.eclipse.emf.ecore.EClassvoideUnset(int featureID) getFont()booleanbooleanvoidsetBackground(Color newBackground) voidvoidsetForeground(Color newForeground) voidsetStrikeout(boolean newStrikeout) voidsetStrikeoutColor(Color newStrikeoutColor) voidsetUnderline(boolean newUnderline) voidsetUnderlineColor(Color newUnderlineColor) voidsetUnderlineStyle(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, eSetProxyURIMethods 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, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods 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:
eStaticClassin classorg.eclipse.emf.ecore.impl.EObjectImpl
-
isUnderline
public boolean isUnderline()- Specified by:
isUnderlinein interfaceTextStyle- Returns:
- the value of the 'Underline' attribute.
- See Also:
-
setUnderline
public void setUnderline(boolean newUnderline) - Specified by:
setUnderlinein interfaceTextStyle- Parameters:
newUnderline- the new value of the 'Underline' attribute.- See Also:
-
getUnderlineStyle
- Specified by:
getUnderlineStylein interfaceTextStyle- Returns:
- the value of the 'Underline Style' attribute.
- See Also:
-
setUnderlineStyle
- Specified by:
setUnderlineStylein interfaceTextStyle- Parameters:
newUnderlineStyle- the new value of the 'Underline Style' attribute.- See Also:
-
isStrikeout
public boolean isStrikeout()- Specified by:
isStrikeoutin interfaceTextStyle- Returns:
- the value of the 'Strikeout' attribute.
- See Also:
-
setStrikeout
public void setStrikeout(boolean newStrikeout) - Specified by:
setStrikeoutin interfaceTextStyle- Parameters:
newStrikeout- the new value of the 'Strikeout' attribute.- See Also:
-
getFont
-
basicGetFont
-
setFont
-
getForeground
- Specified by:
getForegroundin interfaceTextStyle- Returns:
- the value of the 'Foreground' reference.
- See Also:
-
basicGetForeground
-
setForeground
- Specified by:
setForegroundin interfaceTextStyle- Parameters:
newForeground- the new value of the 'Foreground' reference.- See Also:
-
getBackground
- Specified by:
getBackgroundin interfaceTextStyle- Returns:
- the value of the 'Background' reference.
- See Also:
-
basicGetBackground
-
setBackground
- Specified by:
setBackgroundin interfaceTextStyle- Parameters:
newBackground- the new value of the 'Background' reference.- See Also:
-
getUnderlineColor
- Specified by:
getUnderlineColorin interfaceTextStyle- Returns:
- the value of the 'Underline Color' reference.
- See Also:
-
basicGetUnderlineColor
-
setUnderlineColor
- Specified by:
setUnderlineColorin interfaceTextStyle- Parameters:
newUnderlineColor- the new value of the 'Underline Color' reference.- See Also:
-
getStrikeoutColor
- Specified by:
getStrikeoutColorin interfaceTextStyle- Returns:
- the value of the 'Strikeout Color' reference.
- See Also:
-
basicGetStrikeoutColor
-
setStrikeoutColor
- Specified by:
setStrikeoutColorin interfaceTextStyle- Parameters:
newStrikeoutColor- the new value of the 'Strikeout Color' reference.- See Also:
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- 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
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-