Class ExcelFontImpl
java.lang.Object
bld.generator.report.excel.annotation.impl.ExcelAnnotationImpl<ExcelFont>
bld.generator.report.excel.annotation.impl.ExcelFontImpl
- All Implemented Interfaces:
Cloneable
The Class ExcelFontImpl.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new excel font impl.ExcelFontImpl(UnderlineType underline, int size, boolean italic, FontType font, boolean bold) Instantiates a new excel font impl.ExcelFontImpl(UnderlineType underline, short size, boolean italic, FontType font, boolean bold) Instantiates a new excel font impl. -
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.Methods inherited from class bld.generator.report.excel.annotation.impl.ExcelAnnotationImpl
clone, getAnnotation, getClassAnnotation
-
Constructor Details
-
ExcelFontImpl
public ExcelFontImpl(UnderlineType underline, short size, boolean italic, FontType font, boolean bold) Instantiates a new excel font impl.- Parameters:
underline- the underlinesize- the sizeitalic- the italicfont- the fontbold- the bold
-
ExcelFontImpl
public ExcelFontImpl(UnderlineType underline, int size, boolean italic, FontType font, boolean bold) Instantiates a new excel font impl.- Parameters:
underline- the underlinesize- the sizeitalic- the italicfont- the fontbold- the bold
-
ExcelFontImpl
public ExcelFontImpl()Instantiates a new excel font impl.
-
-
Method Details
-
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
-
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
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
-
hashCode
public int hashCode()Hash code. -
equals
Equals.
-