public static enum Background.Attachment extends java.lang.Enum<Background.Attachment>
Enum Constant and Description |
---|
fixed
The background image is fixed
|
inherid
Specifies that the setting of the background-attachment property
should be inherited from the parent element
|
scroll
The background image scrolls with the rest of the page.
|
Modifier and Type | Method and Description |
---|---|
static Background.Attachment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Background.Attachment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Background.Attachment scroll
public static final Background.Attachment fixed
public static final Background.Attachment inherid
public static Background.Attachment[] values()
for (Background.Attachment c : Background.Attachment.values()) System.out.println(c);
public static Background.Attachment valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null