public static enum FontWeight.Type extends java.lang.Enum<FontWeight.Type>
Enum Constant and Description |
---|
_100
Defines from thin to thick characters. 400 is the
same as normal, and 700 is the same as bold
|
_200 |
_300 |
_400 |
_500 |
_600 |
_700 |
_800 |
_900 |
bold
Defines thick characters
|
bolder
Defines thicker characters
|
lighter
Defines lighter characters
|
normal
Defines normal characters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static FontWeight.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FontWeight.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontWeight.Type normal
public static final FontWeight.Type bold
public static final FontWeight.Type bolder
public static final FontWeight.Type lighter
public static final FontWeight.Type _100
public static final FontWeight.Type _200
public static final FontWeight.Type _300
public static final FontWeight.Type _400
public static final FontWeight.Type _500
public static final FontWeight.Type _600
public static final FontWeight.Type _700
public static final FontWeight.Type _800
public static final FontWeight.Type _900
public static FontWeight.Type[] values()
for (FontWeight.Type c : FontWeight.Type.values()) System.out.println(c);
public static FontWeight.Type 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 java.lang.String toString()
toString
in class java.lang.Enum<FontWeight.Type>