public enum BackgroundRepeat extends Enum<BackgroundRepeat>
| Enum Constant and Description |
|---|
NO_REPEAT
The image is placed once and not repeated
|
REPEAT
The image is repeated as often as needed to cover the area.
|
ROUND
The image is repeated as often as will fit within the area.
|
SPACE
The image is repeated as often as will fit within the area without being
clipped and then the images are spaced out to fill the area.
|
| Modifier and Type | Method and Description |
|---|---|
static BackgroundRepeat |
valueOf(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 SPACE
public static final BackgroundRepeat ROUND
public static final BackgroundRepeat NO_REPEAT
public static BackgroundRepeat[] values()
for (BackgroundRepeat c : BackgroundRepeat.values()) System.out.println(c);
public static BackgroundRepeat 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 nullCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.