public interface Span extends InlineMixedContainer
The following features are supported:
RichtextPackage.getSpan()
Modifier and Type | Method and Description |
---|---|
java.util.List<FlowLeaf> |
getAllLeafNodes() |
RGBColor |
getBackgroundColor()
Returns the value of the 'Background Color' attribute.
|
RGBColor |
getFontColor()
Returns the value of the 'Font Color' attribute.
|
int |
getFontHeight()
Returns the value of the 'Font Height' attribute.
|
java.lang.String |
getFontName()
Returns the value of the 'Font Name' attribute.
|
java.lang.String |
getFontWeight()
Returns the value of the 'Font Weight' attribute.
|
java.lang.String |
getTextDecoration()
Returns the value of the 'Text Decoration' attribute.
|
boolean |
hasStyleSet() |
boolean |
isSetFontHeight()
Returns whether the value of the '
Font Height ' attribute is set. |
void |
setBackgroundColor(RGBColor value)
Sets the value of the '
Background Color ' attribute. |
void |
setFontColor(RGBColor value)
Sets the value of the '
Font Color ' attribute. |
void |
setFontHeight(int value)
Sets the value of the '
Font Height ' attribute. |
void |
setFontName(java.lang.String value)
Sets the value of the '
Font Name ' attribute. |
void |
setFontWeight(java.lang.String value)
Sets the value of the '
Font Weight ' attribute. |
void |
setTextDecoration(java.lang.String value)
Sets the value of the '
Text Decoration ' attribute. |
void |
unsetFontHeight()
Unsets the value of the '
Font Height ' attribute. |
getChildren, getMixed
acceptsChild, adaptAndAdd, adaptAndAdd, wrap
charAt, getBody, getContainingBlock, getDisplayName, getFollowingLeafNode, getId, getParent, getPrecedingLeafNode, getText, getTextLength, isEmpty, isSplittable, mapToModel, setId, size, split, translateToAbsolute
RGBColor getBackgroundColor()
If the meaning of the 'Background Color' attribute isn't clear, there really should be more of a description here...
setBackgroundColor(RGBColor)
,
RichtextPackage.getSpan_BackgroundColor()
void setBackgroundColor(RGBColor value)
Background Color
' attribute.
value
- the new value of the 'Background Color' attribute.getBackgroundColor()
RGBColor getFontColor()
If the meaning of the 'Font Color' attribute isn't clear, there really should be more of a description here...
setFontColor(RGBColor)
,
RichtextPackage.getSpan_FontColor()
void setFontColor(RGBColor value)
Font Color
' attribute.
value
- the new value of the 'Font Color' attribute.getFontColor()
int getFontHeight()
If the meaning of the 'Font Height' attribute isn't clear, there really should be more of a description here...
isSetFontHeight()
,
unsetFontHeight()
,
setFontHeight(int)
,
RichtextPackage.getSpan_FontHeight()
void setFontHeight(int value)
Font Height
' attribute.
value
- the new value of the 'Font Height' attribute.isSetFontHeight()
,
unsetFontHeight()
,
getFontHeight()
void unsetFontHeight()
Font Height
' attribute.
isSetFontHeight()
,
getFontHeight()
,
setFontHeight(int)
boolean isSetFontHeight()
Font Height
' attribute is set.
unsetFontHeight()
,
getFontHeight()
,
setFontHeight(int)
java.lang.String getFontName()
If the meaning of the 'Font Name' attribute isn't clear, there really should be more of a description here...
setFontName(String)
,
RichtextPackage.getSpan_FontName()
void setFontName(java.lang.String value)
Font Name
' attribute.
value
- the new value of the 'Font Name' attribute.getFontName()
java.lang.String getTextDecoration()
If the meaning of the 'Text Decoration' attribute isn't clear, there really should be more of a description here...
setTextDecoration(String)
,
RichtextPackage.getSpan_TextDecoration()
void setTextDecoration(java.lang.String value)
Text Decoration
' attribute.
value
- the new value of the 'Text Decoration' attribute.getTextDecoration()
java.lang.String getFontWeight()
If the meaning of the 'Font Weight' attribute isn't clear, there really should be more of a description here...
setFontWeight(String)
,
RichtextPackage.getSpan_FontWeight()
void setFontWeight(java.lang.String value)
Font Weight
' attribute.
value
- the new value of the 'Font Weight' attribute.getFontWeight()
java.util.List<FlowLeaf> getAllLeafNodes()
boolean hasStyleSet()