public class ExcelFontImpl extends ExcelAnnotationImpl<ExcelFont>
| Constructor and Description |
|---|
ExcelFontImpl()
Instantiates 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Equals.
|
FontType |
getFont()
Gets the font.
|
short |
getSize()
Gets the size.
|
UnderlineType |
getUnderline()
Gets the underline.
|
int |
hashCode()
Hash code.
|
boolean |
isBold()
Checks if is bold.
|
boolean |
isItalic()
Checks if is italic.
|
void |
setBold(boolean bold)
Sets the bold.
|
void |
setFont(FontType font)
Sets the font.
|
void |
setItalic(boolean italic)
Sets the italic.
|
void |
setSize(short size)
Sets the size.
|
void |
setUnderline(UnderlineType underline)
Sets the underline.
|
clone, getAnnotation, getClassAnnotationpublic ExcelFontImpl(UnderlineType underline, short size, boolean italic, FontType font, boolean bold)
underline - the underlinesize - the sizeitalic - the italicfont - the fontbold - the boldpublic ExcelFontImpl(UnderlineType underline, int size, boolean italic, FontType font, boolean bold)
underline - the underlinesize - the sizeitalic - the italicfont - the fontbold - the boldpublic ExcelFontImpl()
public UnderlineType getUnderline()
public void setUnderline(UnderlineType underline)
underline - the new underlinepublic short getSize()
public void setSize(short size)
size - the new sizepublic boolean isItalic()
public void setItalic(boolean italic)
italic - the new italicpublic FontType getFont()
public void setFont(FontType font)
font - the new fontpublic boolean isBold()
public void setBold(boolean bold)
bold - the new boldCopyright © 2022. All rights reserved.