public static enum BackgroundImage.Position extends java.lang.Enum<BackgroundImage.Position>
| Enum Constant and Description |
|---|
BOTTOM_CENTER |
BOTTOM_LEFT |
BOTTOM_RIGHT |
CENTER_CENTER |
CENTER_LEFT |
CENTER_RIGHT |
TOP_CENTER |
TOP_LEFT |
TOP_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
static BackgroundImage.Position |
fromODT(java.lang.String str)
Returns the correct
BackgroundImage.Position for a image. |
static BackgroundImage.Position |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BackgroundImage.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackgroundImage.Position TOP_LEFT
public static final BackgroundImage.Position TOP_CENTER
public static final BackgroundImage.Position TOP_RIGHT
public static final BackgroundImage.Position CENTER_LEFT
public static final BackgroundImage.Position CENTER_CENTER
public static final BackgroundImage.Position CENTER_RIGHT
public static final BackgroundImage.Position BOTTOM_LEFT
public static final BackgroundImage.Position BOTTOM_CENTER
public static final BackgroundImage.Position BOTTOM_RIGHT
public static BackgroundImage.Position[] values()
for (BackgroundImage.Position c : BackgroundImage.Position.values()) System.out.println(c);
public static BackgroundImage.Position 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 static BackgroundImage.Position fromODT(java.lang.String str)
BackgroundImage.Position for a image.str - the string containing the ODF repeat value.java.lang.IllegalArgumentException - when the value is not definedCopyright © 2022. All Rights Reserved.