de.intarsys.cwt.font
public class FontStyle extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static FontStyle |
BOLD |
static FontStyle |
BOLD_ITALIC |
static int |
COUNT
The number of font styles
|
static FontStyle |
ITALIC |
static FontStyle |
REGULAR |
static FontStyle |
UNDEFINED
The enumeration of supported font styles
|
Modifier and Type | Method and Description |
---|---|
FontStyle |
getBoldFlavor() |
static FontStyle |
getFontStyle(java.lang.String name) |
java.lang.String |
getId() |
protected int |
getIndex() |
FontStyle |
getItalicFlavor() |
java.lang.String |
toString() |
public static final int COUNT
public static final FontStyle UNDEFINED
public static final FontStyle REGULAR
public static final FontStyle ITALIC
public static final FontStyle BOLD
public static final FontStyle BOLD_ITALIC
public static FontStyle getFontStyle(java.lang.String name)
public FontStyle getBoldFlavor()
public java.lang.String getId()
protected int getIndex()
public FontStyle getItalicFlavor()
public java.lang.String toString()
toString
in class java.lang.Object