public enum BackgroundRepeat extends java.lang.Enum<BackgroundRepeat> implements ValueEnum
Enum Constant and Description |
---|
NO_REPEAT
Don't tile the background image at all.
|
REPEAT
Tile the background image horizontally and vertically.
|
REPEAT_X
Repeat the background image horizontally but not vertically.
|
REPEAT_Y
Repeat the background image vertically but not horizontally.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static BackgroundRepeat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BackgroundRepeat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackgroundRepeat REPEAT
public static final BackgroundRepeat NO_REPEAT
public static final BackgroundRepeat REPEAT_X
public static final BackgroundRepeat REPEAT_Y
public static BackgroundRepeat[] values()
for (BackgroundRepeat c : BackgroundRepeat.values()) System.out.println(c);
public static BackgroundRepeat 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