Class ExcelFont
java.lang.Object
com.northconcepts.datapipeline.excel.ExcelFont
- All Implemented Interfaces:
Cloneable
Represents font styling options for Excel cells.
Includes properties for bold, italic, underline, and font color.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ExcelFontclone()booleanGets the font color.inthashCode()booleanisBold()Returns whether bold formatting is enabled.booleanisItalic()Returns whether italic formatting is enabled.booleanReturns whether underline formatting is enabled.setBold(boolean bold) Sets whether bold formatting is enabled.setFontColor(ExcelColor fontColor) Sets the font color.setFontColor(ExcelColorPalette fontColorPalette) Sets the font color.setItalic(boolean italic) Sets whether italic formatting is enabled.setUnderline(boolean underline) Sets whether underline formatting is enabled.toString()
-
Constructor Details
-
ExcelFont
public ExcelFont()
-
-
Method Details
-
isBold
public boolean isBold()Returns whether bold formatting is enabled.- Returns:
- true if bold, false otherwise
-
setBold
Sets whether bold formatting is enabled.- Parameters:
bold- true to enable bold, false to disable- Returns:
- this ExcelFont instance for method chaining
-
isItalic
public boolean isItalic()Returns whether italic formatting is enabled.- Returns:
- true if italic, false otherwise
-
setItalic
Sets whether italic formatting is enabled.- Parameters:
italic- true to enable italic, false to disable- Returns:
- this ExcelFont instance for method chaining
-
isUnderline
public boolean isUnderline()Returns whether underline formatting is enabled.- Returns:
- true if underline, false otherwise
-
setUnderline
Sets whether underline formatting is enabled.- Parameters:
underline- true to enable underline, false to disable- Returns:
- this ExcelFont instance for method chaining
-
getFontColor
Gets the font color.- Returns:
- the font color
-
setFontColor
Sets the font color.- Parameters:
fontColor- the font color to set- Returns:
- this ExcelFont instance for method chaining
-
setFontColor
Sets the font color.- Parameters:
fontColorPalette- the font color to set- Returns:
- this ExcelFont instance for method chaining
-
hashCode
public int hashCode() -
equals
-
toString
-
clone
-