public enum CssMediaType extends Enum<CssMediaType>
Enum Constant and Description |
---|
PRINT
Renders as expected for a web browser.
|
SCREEN
Ignores 'Print' styles and includes additional 'Screen' styles where available.
|
Modifier and Type | Method and Description |
---|---|
static CssMediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CssMediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CssMediaType PRINT
public static final CssMediaType SCREEN
public static CssMediaType[] values()
for (CssMediaType c : CssMediaType.values()) System.out.println(c);
public static CssMediaType 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 © 2022–2023 Iron Software. All rights reserved.