|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FontWeight>
com.osbcp.css.constants.FontWeight
public enum FontWeight
Values for the font-weight property.
Enum Constant Summary | |
---|---|
BOLD
Defines thick characters. |
|
BOLDER
Defines thicker characters. |
|
LIGHTER
Defines lighter characters. |
|
NORMAL
Defines normal characters. |
|
W100
Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold. |
|
W200
Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold. |
|
W300
Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold. |
|
W400
Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold. |
|
W500
|
|
W600
Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold. |
|
W700
Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold. |
|
W800
Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold. |
|
W900
Defines from thin to thick characters. 400 is the same as normal, and 700 is the same as bold. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static FontWeight |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FontWeight[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FontWeight NORMAL
public static final FontWeight BOLD
public static final FontWeight BOLDER
public static final FontWeight LIGHTER
public static final FontWeight W100
public static final FontWeight W200
public static final FontWeight W300
public static final FontWeight W400
public static final FontWeight W500
public static final FontWeight W600
public static final FontWeight W700
public static final FontWeight W800
public static final FontWeight W900
Method Detail |
---|
public static FontWeight[] values()
for (FontWeight c : FontWeight.values()) System.out.println(c);
public static FontWeight 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<FontWeight>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |