de.intarsys.cwt.font
Class FontStyle
java.lang.Object
de.intarsys.cwt.font.FontStyle
public class FontStyle
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COUNT
public static final int COUNT
- The number of font styles
- See Also:
- Constant Field Values
UNDEFINED
public static final FontStyle UNDEFINED
- The enumeration of supported font styles
REGULAR
public static final FontStyle REGULAR
ITALIC
public static final FontStyle ITALIC
BOLD
public static final FontStyle BOLD
BOLD_ITALIC
public static final FontStyle BOLD_ITALIC
getFontStyle
public static FontStyle getFontStyle(java.lang.String name)
getBoldFlavor
public FontStyle getBoldFlavor()
getId
public java.lang.String getId()
getIndex
protected int getIndex()
getItalicFlavor
public FontStyle getItalicFlavor()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object