public enum DiagramImageFormat extends Enum<DiagramImageFormat>
Enum Constant and Description |
---|
BMP
Bitmap Format
|
EMF
Metafile Format
|
GIF
GIF Format
|
JPG
JPG Format
|
NONE
No Format
|
PNG
PNG Format
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static DiagramImageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiagramImageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiagramImageFormat NONE
public static final DiagramImageFormat EMF
public static final DiagramImageFormat BMP
public static final DiagramImageFormat GIF
public static final DiagramImageFormat PNG
public static final DiagramImageFormat JPG
public static DiagramImageFormat[] values()
for (DiagramImageFormat c : DiagramImageFormat.values()) System.out.println(c);
public static DiagramImageFormat 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 nullpublic int getValue()