public static enum CSSMediaQuery.Flag extends Enum<CSSMediaQuery.Flag>
Modifier and Type | Method and Description |
---|---|
static CSSMediaQuery.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CSSMediaQuery.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSSMediaQuery.Flag ONLY
public static final CSSMediaQuery.Flag NOT
public static CSSMediaQuery.Flag[] values()
for (CSSMediaQuery.Flag c : CSSMediaQuery.Flag.values()) System.out.println(c);
public static CSSMediaQuery.Flag 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 null