Package bld.generator.report.excel.data
Class ExcelFont
java.lang.Object
bld.generator.report.excel.data.ExcelFont
The Class ExcelFont.
This class is used as a property on LayoutCell class.
This class is used as a property on LayoutCell class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals.getFont()Gets the font.shortgetSize()Gets the size.Gets the underline.inthashCode()Hash code.booleanisBold()Checks if is bold.booleanisItalic()Checks if is italic.voidsetBold(boolean bold) Sets the bold.voidSets the font.voidsetItalic(boolean italic) Sets the italic.voidsetSize(short size) Sets the size.voidsetUnderline(UnderlineType underline) Sets the underline.
-
Constructor Details
-
ExcelFont
public ExcelFont()
-
-
Method Details
-
getFont
Gets the font.- Returns:
- the font
-
setFont
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
-
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
-
getUnderline
Gets the underline.- Returns:
- the underline
-
setUnderline
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
-
hashCode
public int hashCode()Hash code. -
equals
Equals.
-