org.apache.poi.ss.usermodel
Class FontFamily

java.lang.Object
  extended by org.apache.poi.ss.usermodel.FontFamily

public class FontFamily
extends java.lang.Object

The font family this font belongs to. A font family is a set of fonts having common stroke width and serif characteristics. The font name overrides when there are conflicting values.

Author:
Gisella Bronzetti

Field Summary
static FontFamily DECORATIVE
           
static FontFamily MODERN
           
static FontFamily NOT_APPLICABLE
           
static FontFamily ROMAN
           
static FontFamily SCRIPT
           
static FontFamily SWISS
           
 
Method Summary
 int getValue()
          Returns index of this font family
static FontFamily valueOf(int family)
           
static FontFamily[] values()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_APPLICABLE

public static final FontFamily NOT_APPLICABLE

ROMAN

public static final FontFamily ROMAN

SWISS

public static final FontFamily SWISS

MODERN

public static final FontFamily MODERN

SCRIPT

public static final FontFamily SCRIPT

DECORATIVE

public static final FontFamily DECORATIVE
Method Detail

values

public static FontFamily[] values()

getValue

public int getValue()
Returns index of this font family

Returns:
index of this font family

valueOf

public static FontFamily valueOf(int family)