public enum BackgroundAttachment extends java.lang.Enum<BackgroundAttachment>
Enum Constant and Description |
---|
FIXED
The background-image is to be fixed within the viewable area of the
enclosing object.
|
SCROLL
The background-image may scroll with the enclosing object.
|
Modifier and Type | Method and Description |
---|---|
static BackgroundAttachment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BackgroundAttachment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackgroundAttachment SCROLL
public static final BackgroundAttachment FIXED
public static BackgroundAttachment[] values()
for (BackgroundAttachment c : BackgroundAttachment.values()) System.out.println(c);
public static BackgroundAttachment 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 nullThis documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.