public enum CSSMediaType extends Enum<CSSMediaType>
Enum Constant and Description |
---|
all
Used for all media type devices (default)
|
aural
Used for speech and sound synthesizers
|
braille
Used for braille tactile feedback devices
|
embossed
Used for paged braille printers
|
handheld
Used for small or handheld devices
|
print
Used for printers
|
projection
Used for projected presentations, like slides
|
screen
Used for computer screens
|
tty
Used for media using a fixed-pitch character grid, like teletypes and terminals
|
tv
Used for television-type devices
|
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 all
public static final CSSMediaType aural
public static final CSSMediaType braille
public static final CSSMediaType embossed
public static final CSSMediaType handheld
public static final CSSMediaType print
public static final CSSMediaType projection
public static final CSSMediaType screen
public static final CSSMediaType tty
public static final CSSMediaType tv
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 null