public enum BackgroundRepeat extends java.lang.Enum<BackgroundRepeat>
Enum Constant and Description |
---|
NO_REPEAT
The image is not repeated.
|
REPEAT
The image is repeated both horizontally and vertically.
|
REPEAT_X
The image is repeated horizontally only.
|
REPEAT_Y
The image is repeated vertically only.
|
Modifier and Type | Method and Description |
---|---|
boolean |
repeatsHorizontal()
Indicates whether the background repeats on the horizontal axis.
|
boolean |
repeatsVertical()
Indicates whether the background repeats on the vertical axis.
|
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 REPEAT_X
public static final BackgroundRepeat REPEAT_Y
public static final BackgroundRepeat NO_REPEAT
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 nullpublic boolean repeatsHorizontal()
public boolean repeatsVertical()
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.