public enum CssFontWeight extends Enum<CssFontWeight> implements CssAllowedValue
Enum Constant and Description |
---|
BOLD |
BOLDER |
LIGHTER |
NORMAL |
WEIGHT_100 |
WEIGHT_200 |
WEIGHT_300 |
WEIGHT_400 |
WEIGHT_500 |
WEIGHT_600 |
WEIGHT_700 |
WEIGHT_800 |
WEIGHT_900 |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static CssFontWeight |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CssFontWeight[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CssFontWeight NORMAL
public static final CssFontWeight BOLD
public static final CssFontWeight BOLDER
public static final CssFontWeight LIGHTER
public static final CssFontWeight WEIGHT_100
public static final CssFontWeight WEIGHT_200
public static final CssFontWeight WEIGHT_300
public static final CssFontWeight WEIGHT_400
public static final CssFontWeight WEIGHT_500
public static final CssFontWeight WEIGHT_600
public static final CssFontWeight WEIGHT_700
public static final CssFontWeight WEIGHT_800
public static final CssFontWeight WEIGHT_900
public static CssFontWeight[] values()
for (CssFontWeight c : CssFontWeight.values()) System.out.println(c);
public static CssFontWeight valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
getName
in interface CssAllowedValue
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.