public enum ECSSMedium extends Enum<ECSSMedium> implements ICSSVersionAware, com.helger.commons.name.IHasName
| Enum Constant and Description |
|---|
ALL
for all media types
|
AURAL
For computer synthesized voice.
|
BRAILLE
for blind people
|
EMBOSSED
for blind people
|
HANDHELD
for PDAs
|
PRINT
for printing
|
PROJECTION
for projection
|
SCREEN
for normal screen display
|
SPEECH
For computer synthesized voice.
|
TTY
for text oriented devices
|
TV
for televisions
|
| Modifier and Type | Method and Description |
|---|---|
static ECSSMedium |
getFromNameOrDefault(String sName,
ECSSMedium eDefault) |
static ECSSMedium |
getFromNameOrNull(String sName) |
ECSSVersion |
getMinimumCSSVersion() |
String |
getName() |
static ECSSMedium |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECSSMedium[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECSSMedium ALL
@DeprecatedInCSS21 public static final ECSSMedium AURAL
public static final ECSSMedium BRAILLE
public static final ECSSMedium EMBOSSED
public static final ECSSMedium HANDHELD
public static final ECSSMedium PRINT
public static final ECSSMedium PROJECTION
public static final ECSSMedium SCREEN
public static final ECSSMedium SPEECH
public static final ECSSMedium TTY
public static final ECSSMedium TV
public static ECSSMedium[] values()
for (ECSSMedium c : ECSSMedium.values()) System.out.println(c);
public static ECSSMedium 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@Nonnull @Nonempty public String getName()
getName in interface com.helger.commons.name.IHasNamenull nor empty.@Nonnull public ECSSVersion getMinimumCSSVersion()
getMinimumCSSVersion in interface ICSSVersionAwarenull.@Nullable public static ECSSMedium getFromNameOrNull(@Nullable String sName)
@Nullable public static ECSSMedium getFromNameOrDefault(@Nullable String sName, @Nullable ECSSMedium eDefault)
Copyright © 2014–2018 Philip Helger. All rights reserved.