| java.lang.Object org.jfree.report.modules.output.table.xls.helper.HSSFFontWrapper
HSSFFontWrapper | final public class HSSFFontWrapper (Code) | | The HSSFFontWrapper is used to store excel style font informations.
author: Heiko Evermann |
Field Summary | |
final public static int | FONT_FACTOR scale between Excel and awt. |
Constructor Summary | |
public | HSSFFontWrapper(String fontName, short fontSize, boolean bold, boolean italic, boolean underline, boolean strikethrough, Color color) Creates a new HSSFFontWrapper for the given font and color. | public | HSSFFontWrapper(HSSFFont font) Creates a HSSFFontWrapper for the excel font. |
FONT_FACTOR | final public static int FONT_FACTOR(Code) | | scale between Excel and awt. With this value it looks fine.
|
HSSFFontWrapper | public HSSFFontWrapper(String fontName, short fontSize, boolean bold, boolean italic, boolean underline, boolean strikethrough, Color color)(Code) | | Creates a new HSSFFontWrapper for the given font and color.
Parameters: fontName - the name of the wrapped font. Parameters: fontSize - the name of the wrapped font. Parameters: bold - a font style flag. Parameters: italic - a font style flag. Parameters: underline - a font style flag. Parameters: strikethrough - a font style flag. Parameters: color - the foreground color. |
HSSFFontWrapper | public HSSFFontWrapper(HSSFFont font)(Code) | | Creates a HSSFFontWrapper for the excel font.
Parameters: font - the font. |
equals | public boolean equals(Object o)(Code) | | Indicates whether some other object is "equal to" this one.
Parameters: o - the compared object. true, if the font wrapper contains the same font definition, falseotherwise. |
getColorIndex | public short getColorIndex()(Code) | | |
getFontHeight | public int getFontHeight()(Code) | | |
getHashCode | public int getHashCode()(Code) | | |
hashCode | public int hashCode()(Code) | | Returns a hash code value for the object. This method is supported for the benefit of
hashtables such as those provided by java.util.Hashtable .
the hash code. |
isBold | public boolean isBold()(Code) | | |
isItalic | public boolean isItalic()(Code) | | |
isStrikethrough | public boolean isStrikethrough()(Code) | | |
isUnderline | public boolean isUnderline()(Code) | | |
|
|