public class TextState
extends java.lang.Object
| Constructor and Description |
|---|
TextState() |
| Modifier and Type | Method and Description |
|---|---|
TextState |
backgroundColor(Color backgroundColor) |
boolean |
equals(java.lang.Object o) |
TextState |
font(java.lang.String font) |
TextState |
fontFile(java.lang.String fontFile) |
TextState |
fontSize(java.lang.Double fontSize) |
TextState |
fontStyle(FontStyles fontStyle) |
TextState |
foregroundColor(Color foregroundColor) |
Color |
getBackgroundColor()
Sets background color of the text.
|
java.lang.String |
getFont()
Gets or sets font name of the text.
|
java.lang.String |
getFontFile()
Sets path of font file in storage.
|
java.lang.Double |
getFontSize()
Gets or sets font size of the text.
|
FontStyles |
getFontStyle()
Sets font style of the text.
|
Color |
getForegroundColor()
Gets or sets foreground color of the text.
|
int |
hashCode() |
java.lang.Boolean |
isStrikeOut()
Gets or sets strikeout of the text.
|
java.lang.Boolean |
isSubscript()
Gets or sets subscript mode of the text.
|
java.lang.Boolean |
isSuperscript()
Gets or sets superscript mode of the text.
|
java.lang.Boolean |
isUnderline()
Gets or sets underline of the text.
|
void |
setBackgroundColor(Color backgroundColor) |
void |
setFont(java.lang.String font) |
void |
setFontFile(java.lang.String fontFile) |
void |
setFontSize(java.lang.Double fontSize) |
void |
setFontStyle(FontStyles fontStyle) |
void |
setForegroundColor(Color foregroundColor) |
void |
setStrikeOut(java.lang.Boolean strikeOut) |
void |
setSubscript(java.lang.Boolean subscript) |
void |
setSuperscript(java.lang.Boolean superscript) |
void |
setUnderline(java.lang.Boolean underline) |
TextState |
strikeOut(java.lang.Boolean strikeOut) |
TextState |
subscript(java.lang.Boolean subscript) |
TextState |
superscript(java.lang.Boolean superscript) |
java.lang.String |
toString() |
TextState |
underline(java.lang.Boolean underline) |
public TextState fontSize(java.lang.Double fontSize)
public java.lang.Double getFontSize()
public void setFontSize(java.lang.Double fontSize)
public TextState font(java.lang.String font)
public java.lang.String getFont()
public void setFont(java.lang.String font)
public Color getForegroundColor()
public void setForegroundColor(Color foregroundColor)
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
public TextState fontStyle(FontStyles fontStyle)
public FontStyles getFontStyle()
public void setFontStyle(FontStyles fontStyle)
public TextState fontFile(java.lang.String fontFile)
public java.lang.String getFontFile()
public void setFontFile(java.lang.String fontFile)
public TextState underline(java.lang.Boolean underline)
public java.lang.Boolean isUnderline()
public void setUnderline(java.lang.Boolean underline)
public TextState strikeOut(java.lang.Boolean strikeOut)
public java.lang.Boolean isStrikeOut()
public void setStrikeOut(java.lang.Boolean strikeOut)
public TextState superscript(java.lang.Boolean superscript)
public java.lang.Boolean isSuperscript()
public void setSuperscript(java.lang.Boolean superscript)
public TextState subscript(java.lang.Boolean subscript)
public java.lang.Boolean isSubscript()
public void setSubscript(java.lang.Boolean subscript)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object