| Enum Constant and Description |
|---|
MONOSPACED
Monoespaçada (Java built-in)
|
SAN_SERIF
Sem serifa (Java built-in)
|
SERIF
Serifada (Java built-in)
|
VERDANA
Verdana (Windows)
|
| Modifier and Type | Method and Description |
|---|---|
static FontType |
getFontTypeByName(java.lang.String name)
Consulta uma fonte com base no nome.
|
java.lang.String |
getLabel()
Consulta o nome da fonte (traduzida)
|
java.lang.String |
getTypeName()
Consulta o nome do tipo.
|
static FontType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FontType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontType SERIF
public static final FontType SAN_SERIF
public static final FontType VERDANA
public static final FontType MONOSPACED
public static FontType[] values()
for (FontType c : FontType.values()) System.out.println(c);
public static FontType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final java.lang.String getTypeName()
public final java.lang.String getLabel()
public static FontType getFontTypeByName(java.lang.String name)
name - o nomeCopyright © 2018. All Rights Reserved.