public class SpanImpl extends InlineMixedContainerImpl implements Span
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
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
Modifier and Type | Field and Description |
---|---|
protected static RGBColor |
BACKGROUND_COLOR_EDEFAULT
The default value of the '
Background Color ' attribute. |
protected RGBColor |
backgroundColor
The cached value of the '
Background Color ' attribute. |
protected static RGBColor |
FONT_COLOR_EDEFAULT
The default value of the '
Font Color ' attribute. |
protected static int |
FONT_HEIGHT_EDEFAULT
The default value of the '
Font Height ' attribute. |
protected static java.lang.String |
FONT_NAME_EDEFAULT
The default value of the '
Font Name ' attribute. |
protected static java.lang.String |
FONT_WEIGHT_EDEFAULT
The default value of the '
Font Weight ' attribute. |
protected RGBColor |
fontColor
The cached value of the '
Font Color ' attribute. |
protected int |
fontHeight
The cached value of the '
Font Height ' attribute. |
protected boolean |
fontHeightESet
This is true if the Font Height attribute has been set.
|
protected java.lang.String |
fontName
The cached value of the '
Font Name ' attribute. |
protected java.lang.String |
fontWeight
The cached value of the '
Font Weight ' attribute. |
protected static java.lang.String |
STYLE_EDEFAULT
The default value of the '
Style ' attribute. |
protected static java.lang.String |
TEXT_DECORATION_EDEFAULT
The default value of the '
Text Decoration ' attribute. |
protected java.lang.String |
textDecoration
The cached value of the '
Text Decoration ' attribute. |
lengthInvalid, textLength
id, ID_EDEFAULT
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
SpanImpl() |
Modifier and Type | Method and Description |
---|---|
protected FlowContainer |
createSplitNode() |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.util.List<FlowLeaf> |
getAllLeafNodes() |
RGBColor |
getBackgroundColor() |
java.lang.String |
getDisplayName() |
RGBColor |
getFontColor() |
int |
getFontHeight() |
java.lang.String |
getFontName() |
java.lang.String |
getFontWeight() |
java.lang.String |
getStyle() |
java.lang.String |
getTextDecoration() |
boolean |
hasStyleSet() |
boolean |
isSetFontHeight() |
void |
setBackgroundColor(RGBColor newBackgroundColor) |
void |
setFontColor(RGBColor newFontColor) |
void |
setFontHeight(int newFontHeight) |
void |
setFontName(java.lang.String newFontName) |
void |
setFontWeight(java.lang.String newFontWeight) |
void |
setStyle(java.lang.String newStyle) |
void |
setTextDecoration(java.lang.String newTextDecoration) |
java.lang.String |
toString() |
void |
unsetFontHeight() |
acceptsChild
eContents, eInverseRemove, getChildren, getChildrenGroup, getMixed
adaptAndAdd, adaptAndAdd, charAt, getText, getTextLength, getWrapperBlock, invalidate, isEmpty, mapToModel, revalidate, size, split, wrap
eBasicSetContainer, getBody, getContainingBlock, getFollowingLeafNode, getId, getParent, getPrecedingLeafNode, isSplittable, setId, translateToAbsolute
eAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, 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, 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
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren, getMixed
acceptsChild, adaptAndAdd, adaptAndAdd, wrap
charAt, getBody, getContainingBlock, getFollowingLeafNode, getId, getParent, getPrecedingLeafNode, getText, getTextLength, isEmpty, isSplittable, mapToModel, setId, size, split, translateToAbsolute
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final RGBColor BACKGROUND_COLOR_EDEFAULT
Background Color
' attribute.
getBackgroundColor()
protected RGBColor backgroundColor
Background Color
' attribute.
getBackgroundColor()
protected static final RGBColor FONT_COLOR_EDEFAULT
Font Color
' attribute.
getFontColor()
protected RGBColor fontColor
Font Color
' attribute.
getFontColor()
protected static final int FONT_HEIGHT_EDEFAULT
Font Height
' attribute.
getFontHeight()
,
Constant Field Valuesprotected int fontHeight
Font Height
' attribute.
getFontHeight()
protected boolean fontHeightESet
protected static final java.lang.String FONT_NAME_EDEFAULT
Font Name
' attribute.
getFontName()
protected java.lang.String fontName
Font Name
' attribute.
getFontName()
protected static final java.lang.String STYLE_EDEFAULT
Style
' attribute.
getStyle()
protected static final java.lang.String TEXT_DECORATION_EDEFAULT
Text Decoration
' attribute.
getTextDecoration()
protected java.lang.String textDecoration
Text Decoration
' attribute.
getTextDecoration()
protected static final java.lang.String FONT_WEIGHT_EDEFAULT
Font Weight
' attribute.
getFontWeight()
protected java.lang.String fontWeight
Font Weight
' attribute.
getFontWeight()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class InlineMixedContainerImpl
public RGBColor getBackgroundColor()
getBackgroundColor
in interface Span
Span.setBackgroundColor(RGBColor)
,
RichtextPackage.getSpan_BackgroundColor()
public void setBackgroundColor(RGBColor newBackgroundColor)
setBackgroundColor
in interface Span
newBackgroundColor
- the new value of the 'Background Color' attribute.Span.getBackgroundColor()
public RGBColor getFontColor()
getFontColor
in interface Span
Span.setFontColor(RGBColor)
,
RichtextPackage.getSpan_FontColor()
public void setFontColor(RGBColor newFontColor)
setFontColor
in interface Span
newFontColor
- the new value of the 'Font Color' attribute.Span.getFontColor()
public int getFontHeight()
getFontHeight
in interface Span
Span.isSetFontHeight()
,
Span.unsetFontHeight()
,
Span.setFontHeight(int)
,
RichtextPackage.getSpan_FontHeight()
public void setFontHeight(int newFontHeight)
setFontHeight
in interface Span
newFontHeight
- the new value of the 'Font Height' attribute.Span.isSetFontHeight()
,
Span.unsetFontHeight()
,
Span.getFontHeight()
public void unsetFontHeight()
unsetFontHeight
in interface Span
Span.isSetFontHeight()
,
Span.getFontHeight()
,
Span.setFontHeight(int)
public boolean isSetFontHeight()
isSetFontHeight
in interface Span
Span.unsetFontHeight()
,
Span.getFontHeight()
,
Span.setFontHeight(int)
public java.lang.String getFontName()
getFontName
in interface Span
Span.setFontName(String)
,
RichtextPackage.getSpan_FontName()
public void setFontName(java.lang.String newFontName)
setFontName
in interface Span
newFontName
- the new value of the 'Font Name' attribute.Span.getFontName()
public java.lang.String getStyle()
public void setStyle(java.lang.String newStyle)
public java.lang.String getTextDecoration()
getTextDecoration
in interface Span
Span.setTextDecoration(String)
,
RichtextPackage.getSpan_TextDecoration()
public void setTextDecoration(java.lang.String newTextDecoration)
setTextDecoration
in interface Span
newTextDecoration
- the new value of the 'Text Decoration' attribute.Span.getTextDecoration()
public java.lang.String getFontWeight()
getFontWeight
in interface Span
Span.setFontWeight(String)
,
RichtextPackage.getSpan_FontWeight()
public void setFontWeight(java.lang.String newFontWeight)
setFontWeight
in interface Span
newFontWeight
- the new value of the 'Font Weight' attribute.Span.getFontWeight()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class MixedContainerImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class MixedContainerImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class MixedContainerImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class MixedContainerImpl
public java.lang.String toString()
toString
in class MixedContainerImpl
public java.util.List<FlowLeaf> getAllLeafNodes()
getAllLeafNodes
in interface Span
public boolean hasStyleSet()
hasStyleSet
in interface Span
protected FlowContainer createSplitNode()
createSplitNode
in class FlowContainerImpl
public java.lang.String getDisplayName()
getDisplayName
in interface FlowType