Spec-Zone .ru
спецификации, руководства, описания, API
|
public enum BackgroundRepeat extends java.lang.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(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 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(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 nullCopyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to