public static enum Background.Repeat extends java.lang.Enum<Background.Repeat>
Enum Constant and Description |
---|
fixed
Specifies that the setting of the background-repeat property should
be inherited from the parent element
|
no_repeat
The background-image will not be repeated
|
repeat_
The background image will be repeated both vertically and
horizontally.
|
repeat_x
The background image will be repeated only horizontally
|
repeat_y
The background image will be repeated only vertically
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Background.Repeat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Background.Repeat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Background.Repeat repeat_
public static final Background.Repeat repeat_x
public static final Background.Repeat repeat_y
public static final Background.Repeat no_repeat
public static final Background.Repeat fixed
public static Background.Repeat[] values()
for (Background.Repeat c : Background.Repeat.values()) System.out.println(c);
public static Background.Repeat 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Background.Repeat>