Package de.intarsys.cwt.font
Class FontStyle
- java.lang.Object
-
- de.intarsys.cwt.font.FontStyle
-
public class FontStyle extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FontStylegetBoldFlavor()static FontStylegetFontStyle(java.lang.String name)java.lang.StringgetId()protected intgetIndex()FontStylegetItalicFlavor()java.lang.StringtoString()
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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:
toStringin classjava.lang.Object
-
-