public enum CssFontSize extends Enum<CssFontSize> implements CssAllowedValue
Enum Constant and Description |
---|
LARGE |
MEDIUM |
SMALL |
X_LARGE |
X_SMALL |
XX_LARGE |
XX_SMALL |
Modifier and Type | Method and Description |
---|---|
static CssFontSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CssFontSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getName
public static final CssFontSize XX_SMALL
public static final CssFontSize X_SMALL
public static final CssFontSize SMALL
public static final CssFontSize MEDIUM
public static final CssFontSize LARGE
public static final CssFontSize X_LARGE
public static final CssFontSize XX_LARGE
public static CssFontSize[] values()
for (CssFontSize c : CssFontSize.values()) System.out.println(c);
public static CssFontSize 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 nullCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.