public class ExcelFont extends Object implements Cloneable
ExcelCellStyle,
ExcelColor| Constructor and Description |
|---|
ExcelFont() |
| Modifier and Type | Method and Description |
|---|---|
protected ExcelFont |
clone() |
boolean |
equals(Object obj) |
ExcelColor |
getFontColor()
Gets the font color.
|
int |
hashCode() |
boolean |
isBold()
Returns whether bold formatting is enabled.
|
boolean |
isItalic()
Returns whether italic formatting is enabled.
|
boolean |
isUnderline()
Returns whether underline formatting is enabled.
|
ExcelFont |
setBold(boolean bold)
Sets whether bold formatting is enabled.
|
ExcelFont |
setFontColor(ExcelColor fontColor)
Sets the font color.
|
ExcelFont |
setFontColor(ExcelColorPalette fontColorPalette)
Sets the font color.
|
ExcelFont |
setItalic(boolean italic)
Sets whether italic formatting is enabled.
|
ExcelFont |
setUnderline(boolean underline)
Sets whether underline formatting is enabled.
|
String |
toString() |
public boolean isBold()
public ExcelFont setBold(boolean bold)
bold - true to enable bold, false to disablepublic boolean isItalic()
public ExcelFont setItalic(boolean italic)
italic - true to enable italic, false to disablepublic boolean isUnderline()
public ExcelFont setUnderline(boolean underline)
underline - true to enable underline, false to disablepublic ExcelColor getFontColor()
public ExcelFont setFontColor(ExcelColor fontColor)
fontColor - the font color to setpublic ExcelFont setFontColor(ExcelColorPalette fontColorPalette)
fontColorPalette - the font color to setCopyright (c) 2006-2026 North Concepts Inc. All Rights Reserved.