Package coop.intergal.ui.util
Enum FontWeight
- java.lang.Object
-
- java.lang.Enum<FontWeight>
-
- coop.intergal.ui.util.FontWeight
-
- All Implemented Interfaces:
Serializable,Comparable<FontWeight>
public enum FontWeight extends Enum<FontWeight>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static FontWeightvalueOf(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.
-
-
-
Enum Constant Detail
-
LIGHTER
public static final FontWeight LIGHTER
-
NORMAL
public static final FontWeight NORMAL
-
BOLD
public static final FontWeight BOLD
-
BOLDER
public static final FontWeight BOLDER
-
_100
public static final FontWeight _100
-
_200
public static final FontWeight _200
-
_300
public static final FontWeight _300
-
_400
public static final FontWeight _400
-
_500
public static final FontWeight _500
-
_600
public static final FontWeight _600
-
_700
public static final FontWeight _700
-
_800
public static final FontWeight _800
-
_900
public static final FontWeight _900
-
-
Method Detail
-
values
public static FontWeight[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FontWeight c : FontWeight.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FontWeight valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
-