public static enum ImageResource.RepeatStyle extends java.lang.Enum<ImageResource.RepeatStyle>
Enum Constant and Description |
---|
Both
The image is intended to be tiled both horizontally and vertically.
|
Horizontal
The image is intended to be tiled horizontally.
|
None
The image is not intended to be tiled.
|
Vertical
The image is intended to be tiled vertically.
|
Modifier and Type | Method and Description |
---|---|
static ImageResource.RepeatStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageResource.RepeatStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageResource.RepeatStyle None
public static final ImageResource.RepeatStyle Horizontal
public static final ImageResource.RepeatStyle Vertical
public static final ImageResource.RepeatStyle Both
public static ImageResource.RepeatStyle[] values()
for (ImageResource.RepeatStyle c : ImageResource.RepeatStyle.values()) System.out.println(c);
public static ImageResource.RepeatStyle 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