public class AdhocFont extends Object implements Cloneable, Serializable
AdhocFont class.
| Constructor and Description |
|---|
AdhocFont() |
| Modifier and Type | Method and Description |
|---|---|
AdhocFont |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBold()
Getter for the field
bold. |
String |
getFontName()
Getter for the field
fontName. |
Integer |
getFontSize()
Getter for the field
fontSize. |
Boolean |
getItalic()
Getter for the field
italic. |
Boolean |
getStrikeThrough()
Getter for the field
strikeThrough. |
Boolean |
getUnderline()
Getter for the field
underline. |
void |
setBold(Boolean bold)
Setter for the field
bold. |
void |
setFontName(String fontName)
Setter for the field
fontName. |
void |
setFontSize(Integer fontSize)
Setter for the field
fontSize. |
void |
setItalic(Boolean italic)
Setter for the field
italic. |
void |
setStrikeThrough(Boolean strikeThrough)
Setter for the field
strikeThrough. |
void |
setUnderline(Boolean underline)
Setter for the field
underline. |
public void setFontName(String fontName)
Setter for the field fontName.
fontName - a String object.public void setFontSize(Integer fontSize)
Setter for the field fontSize.
fontSize - a Integer object.public void setBold(Boolean bold)
Setter for the field bold.
bold - a Boolean object.public void setItalic(Boolean italic)
Setter for the field italic.
italic - a Boolean object.public Boolean getUnderline()
Getter for the field underline.
Boolean object.public void setUnderline(Boolean underline)
Setter for the field underline.
underline - a Boolean object.public Boolean getStrikeThrough()
Getter for the field strikeThrough.
Boolean object.public void setStrikeThrough(Boolean strikeThrough)
Setter for the field strikeThrough.
strikeThrough - a Boolean object.Copyright © 2010–2021. All rights reserved.