public static enum BackgroundImage.Repeat extends Enum<BackgroundImage.Repeat>
BackgroundImage.repeat
Enum Constant and Description |
---|
NO
Corresponds to CSS property value no-repeat
|
X
Corresponds to CSS property value repeat-x
|
XY
Corresponds to CSS property value repeat
|
Y
Corresponds to CSS property value repeat-y
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static BackgroundImage.Repeat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackgroundImage.Repeat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackgroundImage.Repeat NO
public static final BackgroundImage.Repeat X
public static final BackgroundImage.Repeat Y
public static final BackgroundImage.Repeat XY
public static BackgroundImage.Repeat[] values()
for (BackgroundImage.Repeat c : BackgroundImage.Repeat.values()) System.out.println(c);
public static BackgroundImage.Repeat 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 nullpublic String toString()
toString
in class Enum<BackgroundImage.Repeat>