public class Run
extends java.lang.Object
FormattedText object.| Constructor and Description |
|---|
Run()
Initializes a new instance of the
Run class. |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getColor()
Gets the text color of the run, or
null, if the run should use the default text color. |
java.lang.Boolean |
getFontBold()
Gets the font weight of the run, or
null, if the run should use the default font weight. |
java.lang.Boolean |
getFontItalic()
Gets the font italic style of the run, or
null,
if the run should use the default font italic style. |
java.lang.String |
getFontName()
Gets the font name of the run, or
null, if the run should use the default font. |
java.lang.Double |
getFontSize()
Gets the font size of the run, or
null, if the run should use the default font size. |
java.lang.Boolean |
getFontStrikeout()
Gets the font strikeout style of the run, or
null,
if the run should use the default font strikeout style. |
java.lang.Boolean |
getFontUnderlined()
Gets the font underlined style of the run, or
null,
if the run should use the default font underlined style. |
java.lang.Boolean |
getSubscript()
Gets a value indicating whether the run represents a subscript text.
|
java.lang.Boolean |
getSuperscript()
Gets a value indicating whether the run represents a superscript text.
|
java.lang.String |
getText()
Gets the text of the run.
|
void |
setColor(java.awt.Color value)
Sets the text color of the run, or
null, if the run should use the default text color. |
void |
setFontBold(java.lang.Boolean value)
Sets the font weight of the run, or
null, if the run should use the default font weight. |
void |
setFontItalic(java.lang.Boolean value)
Sets the font italic style of the run, or
null,
if the run should use the default font italic style. |
void |
setFontName(java.lang.String value)
Sets the font name of the run, or
null, if the run should use the default font. |
void |
setFontSize(java.lang.Double value)
Sets the font size of the run, or
null, if the run should use the default font size. |
void |
setFontStrikeout(java.lang.Boolean value)
Sets the font strikeout style of the run, or
null,
if the run should use the default font strikeout style. |
void |
setFontUnderlined(java.lang.Boolean value)
Sets the font underlined style of the run, or
null,
if the run should use the default font underlined style. |
void |
setSubscript(java.lang.Boolean value)
Sets a value indicating whether the run represents a subscript text.
|
void |
setSuperscript(java.lang.Boolean value)
Sets a value indicating whether the run represents a superscript text.
|
void |
setText(java.lang.String value)
Sets the text of the run.
|
java.lang.String |
toString() |
public Run()
Run class.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getText()
public void setText(java.lang.String value)
public java.lang.String getFontName()
null, if the run should use the default font.public void setFontName(java.lang.String value)
null, if the run should use the default font.public java.lang.Double getFontSize()
null, if the run should use the default font size.public void setFontSize(java.lang.Double value)
null, if the run should use the default font size.public java.lang.Boolean getFontBold()
null, if the run should use the default font weight.public void setFontBold(java.lang.Boolean value)
null, if the run should use the default font weight.public java.lang.Boolean getFontItalic()
null,
if the run should use the default font italic style.public void setFontItalic(java.lang.Boolean value)
null,
if the run should use the default font italic style.public java.lang.Boolean getFontUnderlined()
null,
if the run should use the default font underlined style.public void setFontUnderlined(java.lang.Boolean value)
null,
if the run should use the default font underlined style.public java.lang.Boolean getFontStrikeout()
null,
if the run should use the default font strikeout style.public void setFontStrikeout(java.lang.Boolean value)
null,
if the run should use the default font strikeout style.public java.lang.Boolean getSuperscript()
public void setSuperscript(java.lang.Boolean value)
public java.lang.Boolean getSubscript()
public void setSubscript(java.lang.Boolean value)
public java.awt.Color getColor()
null, if the run should use the default text color.public void setColor(java.awt.Color value)
null, if the run should use the default text color.