public enum ImageLocation extends Enum<ImageLocation>
Specifies an image location.
Enum Constant and Description |
---|
ContainerItem
An image that is an element in a container file.
|
Embedded
An image embedded in another document.
|
Separate
An image in separate file.
|
Modifier and Type | Method and Description |
---|---|
static ImageLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageLocation Separate
An image in separate file.
public static final ImageLocation Embedded
An image embedded in another document.
public static final ImageLocation ContainerItem
An image that is an element in a container file.
public static ImageLocation[] values()
for (ImageLocation c : ImageLocation.values()) System.out.println(c);
public static ImageLocation 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 null