|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.report.targets.table.excel.HSSFFontWrapper
The HSSFFontWrapper is used to store excel style font informations.
Field Summary | |
static int |
FONT_FACTOR
scale between Excel and awt. |
Constructor Summary | |
HSSFFontWrapper(FontDefinition font,
java.awt.Color color)
Creates a new HSSFFontWrapper for the given font and color. |
|
HSSFFontWrapper(org.apache.poi.hssf.usermodel.HSSFFont font)
Creates a HSSFFontWrapper for the excel font. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. |
org.apache.poi.hssf.usermodel.HSSFFont |
getFont(org.apache.poi.hssf.usermodel.HSSFWorkbook workbook)
Returns the excel font stored in this wrapper. |
int |
hashCode()
Returns a hash code value for the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FONT_FACTOR
Constructor Detail |
public HSSFFontWrapper(FontDefinition font, java.awt.Color color)
font
- the wrapped font.color
- the foreground color.public HSSFFontWrapper(org.apache.poi.hssf.usermodel.HSSFFont font)
font
- the font.Method Detail |
public org.apache.poi.hssf.usermodel.HSSFFont getFont(org.apache.poi.hssf.usermodel.HSSFWorkbook workbook)
workbook
- the workbook, that will be used to create the font.
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the compared object.
public int hashCode()
java.util.Hashtable
.
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |