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.EPropertiesHolderImplorg.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, textLengthid, ID_EDEFAULTeAdapters, 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() |
acceptsChildeContents, eInverseRemove, getChildren, getChildrenGroup, getMixedadaptAndAdd, adaptAndAdd, charAt, getText, getTextLength, getWrapperBlock, invalidate, isEmpty, mapToModel, revalidate, size, split, wrapeBasicSetContainer, getBody, getContainingBlock, getFollowingLeafNode, getId, getParent, getPrecedingLeafNode, isSplittable, setId, translateToAbsoluteeAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, 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, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildren, getMixedacceptsChild, adaptAndAdd, adaptAndAdd, wrapcharAt, getBody, getContainingBlock, getFollowingLeafNode, getId, getParent, getPrecedingLeafNode, getText, getTextLength, isEmpty, isSplittable, mapToModel, setId, size, split, translateToAbsoluteeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected 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 InlineMixedContainerImplpublic RGBColor getBackgroundColor()
getBackgroundColor in interface SpanSpan.setBackgroundColor(RGBColor),
RichtextPackage.getSpan_BackgroundColor()public void setBackgroundColor(RGBColor newBackgroundColor)
setBackgroundColor in interface SpannewBackgroundColor - the new value of the 'Background Color' attribute.Span.getBackgroundColor()public RGBColor getFontColor()
getFontColor in interface SpanSpan.setFontColor(RGBColor),
RichtextPackage.getSpan_FontColor()public void setFontColor(RGBColor newFontColor)
setFontColor in interface SpannewFontColor - the new value of the 'Font Color' attribute.Span.getFontColor()public int getFontHeight()
getFontHeight in interface SpanSpan.isSetFontHeight(),
Span.unsetFontHeight(),
Span.setFontHeight(int),
RichtextPackage.getSpan_FontHeight()public void setFontHeight(int newFontHeight)
setFontHeight in interface SpannewFontHeight - the new value of the 'Font Height' attribute.Span.isSetFontHeight(),
Span.unsetFontHeight(),
Span.getFontHeight()public void unsetFontHeight()
unsetFontHeight in interface SpanSpan.isSetFontHeight(),
Span.getFontHeight(),
Span.setFontHeight(int)public boolean isSetFontHeight()
isSetFontHeight in interface SpanSpan.unsetFontHeight(),
Span.getFontHeight(),
Span.setFontHeight(int)public java.lang.String getFontName()
getFontName in interface SpanSpan.setFontName(String),
RichtextPackage.getSpan_FontName()public void setFontName(java.lang.String newFontName)
setFontName in interface SpannewFontName - 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 SpanSpan.setTextDecoration(String),
RichtextPackage.getSpan_TextDecoration()public void setTextDecoration(java.lang.String newTextDecoration)
setTextDecoration in interface SpannewTextDecoration - the new value of the 'Text Decoration' attribute.Span.getTextDecoration()public java.lang.String getFontWeight()
getFontWeight in interface SpanSpan.setFontWeight(String),
RichtextPackage.getSpan_FontWeight()public void setFontWeight(java.lang.String newFontWeight)
setFontWeight in interface SpannewFontWeight - 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.InternalEObjecteGet in class MixedContainerImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class MixedContainerImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class MixedContainerImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class MixedContainerImplpublic java.lang.String toString()
toString in class MixedContainerImplpublic java.util.List<FlowLeaf> getAllLeafNodes()
getAllLeafNodes in interface Spanpublic boolean hasStyleSet()
hasStyleSet in interface Spanprotected FlowContainer createSplitNode()
createSplitNode in class FlowContainerImplpublic java.lang.String getDisplayName()
getDisplayName in interface FlowType