jxl.format
Interface Font

All Known Implementing Classes:
jxl.biff.FontRecord

public interface Font

Interface which exposes the user font display information to the user


Method Summary
 int getBoldWeight()
          Gets the bold weight for this font
 Colour getColour()
          Gets the colour for this font
 java.lang.String getName()
          Gets the name of this font
 int getPointSize()
          Gets the point size for this font, if the font hasn't been initialized
 ScriptStyle getScriptStyle()
          Gets the script style
 UnderlineStyle getUnderlineStyle()
          Gets the underline style for this font
 boolean isItalic()
          Returns the italic flag
 boolean isStruckout()
          Returns the strike-out flag
 

Method Detail

getName

public java.lang.String getName()
Gets the name of this font

Returns:
the name of this font

getPointSize

public int getPointSize()
Gets the point size for this font, if the font hasn't been initialized

Returns:
the point size

getBoldWeight

public int getBoldWeight()
Gets the bold weight for this font

Returns:
the bold weight for this font

isItalic

public boolean isItalic()
Returns the italic flag

Returns:
TRUE if this font is italic, FALSE otherwise

isStruckout

public boolean isStruckout()
Returns the strike-out flag

Returns:
TRUE if this font is struck-out, FALSE otherwise

getUnderlineStyle

public UnderlineStyle getUnderlineStyle()
Gets the underline style for this font

Returns:
the underline style

getColour

public Colour getColour()
Gets the colour for this font

Returns:
the colour

getScriptStyle

public ScriptStyle getScriptStyle()
Gets the script style

Returns:
the script style