Class ExcelFontImpl

java.lang.Object
bld.generator.report.excel.annotation.impl.ExcelAnnotationImpl<ExcelFont>
bld.generator.report.excel.annotation.impl.ExcelFontImpl
All Implemented Interfaces:
Cloneable

public class ExcelFontImpl extends ExcelAnnotationImpl<ExcelFont>
The Class ExcelFontImpl.
  • Constructor Details

    • ExcelFontImpl

      public ExcelFontImpl(UnderlineType underline, short size, boolean italic, FontType font, boolean bold)
      Instantiates a new excel font impl.
      Parameters:
      underline - the underline
      size - the size
      italic - the italic
      font - the font
      bold - the bold
    • ExcelFontImpl

      public ExcelFontImpl(UnderlineType underline, int size, boolean italic, FontType font, boolean bold)
      Instantiates a new excel font impl.
      Parameters:
      underline - the underline
      size - the size
      italic - the italic
      font - the font
      bold - the bold
    • ExcelFontImpl

      public ExcelFontImpl()
      Instantiates a new excel font impl.
  • Method Details

    • getUnderline

      public UnderlineType getUnderline()
      Gets the underline.
      Returns:
      the underline
    • setUnderline

      public void setUnderline(UnderlineType underline)
      Sets the underline.
      Parameters:
      underline - the new underline
    • getSize

      public short getSize()
      Gets the size.
      Returns:
      the size
    • setSize

      public void setSize(short size)
      Sets the size.
      Parameters:
      size - the new size
    • isItalic

      public boolean isItalic()
      Checks if is italic.
      Returns:
      the italic
    • setItalic

      public void setItalic(boolean italic)
      Sets the italic.
      Parameters:
      italic - the new italic
    • getFont

      public FontType getFont()
      Gets the font.
      Returns:
      the font
    • setFont

      public void setFont(FontType font)
      Sets the font.
      Parameters:
      font - the new font
    • isBold

      public boolean isBold()
      Checks if is bold.
      Returns:
      the bold
    • setBold

      public void setBold(boolean bold)
      Sets the bold.
      Parameters:
      bold - the new bold
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
      Returns:
      the int
    • equals

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object
      Parameters:
      obj - the obj
      Returns:
      true, if successful