Class ExcelFont

java.lang.Object
com.northconcepts.datapipeline.excel.ExcelFont
All Implemented Interfaces:
Cloneable

public class ExcelFont extends Object implements Cloneable
Represents font styling options for Excel cells. Includes properties for bold, italic, underline, and font color.
See Also:
  • Constructor Details

    • ExcelFont

      public ExcelFont()
  • Method Details

    • isBold

      public boolean isBold()
      Returns whether bold formatting is enabled.
      Returns:
      true if bold, false otherwise
    • setBold

      public ExcelFont setBold(boolean bold)
      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

      public ExcelFont setItalic(boolean italic)
      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

      public ExcelFont setUnderline(boolean underline)
      Sets whether underline formatting is enabled.
      Parameters:
      underline - true to enable underline, false to disable
      Returns:
      this ExcelFont instance for method chaining
    • getFontColor

      public ExcelColor getFontColor()
      Gets the font color.
      Returns:
      the font color
    • setFontColor

      public ExcelFont setFontColor(ExcelColor fontColor)
      Sets the font color.
      Parameters:
      fontColor - the font color to set
      Returns:
      this ExcelFont instance for method chaining
    • setFontColor

      public ExcelFont setFontColor(ExcelColorPalette fontColorPalette)
      Sets the font color.
      Parameters:
      fontColorPalette - the font color to set
      Returns:
      this ExcelFont instance for method chaining
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      protected ExcelFont clone()
      Overrides:
      clone in class Object