fable.io
Class FontGenerator

java.lang.Object
  extended by fable.io.FontGenerator

public class FontGenerator
extends java.lang.Object


Method Summary
 Font getBold()
          This method will return a bold font.
static FontGenerator getInstance()
          This method will return one instance, for public need.
 Font getItalic()
          This method will return an italic font with default size.
 Font getLink()
          This method will return a link font.
 Font getNormal()
          This method will return a normal font.
 Font getSubTitleFont()
          This method will return a font for sub-title
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static FontGenerator getInstance()
This method will return one instance, for public need.

Returns:
an instnace

getNormal

public Font getNormal()
This method will return a normal font.

Returns:
a normal font

getItalic

public Font getItalic()
This method will return an italic font with default size.

Returns:
an italic font

getBold

public Font getBold()
This method will return a bold font.

Returns:
a bold font

getLink

public Font getLink()
This method will return a link font.

Returns:
a link font

getSubTitleFont

public Font getSubTitleFont()
This method will return a font for sub-title

Returns:
a sub-title font