public enum CSSMediaSource extends Enum<CSSMediaSource>
| Enum Constant and Description |
|---|
IMPORT_RULE |
INLINE_SHEET |
LINKED_SHEET |
MEDIA_RULE |
| Modifier and Type | Method and Description |
|---|---|
static CSSMediaSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CSSMediaSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSSMediaSource MEDIA_RULE
public static final CSSMediaSource IMPORT_RULE
public static final CSSMediaSource LINKED_SHEET
public static final CSSMediaSource INLINE_SHEET
public static CSSMediaSource[] values()
for (CSSMediaSource c : CSSMediaSource.values()) System.out.println(c);
public static CSSMediaSource 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 © 2020. All rights reserved.