public static enum SaveShape.FormatEnum extends Enum<SaveShape.FormatEnum>
Modifier and Type | Class and Description |
---|---|
static class |
SaveShape.FormatEnum.Adapter |
Modifier and Type | Method and Description |
---|---|
static SaveShape.FormatEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static SaveShape.FormatEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaveShape.FormatEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaveShape.FormatEnum JPEG
public static final SaveShape.FormatEnum PNG
public static final SaveShape.FormatEnum GIF
public static final SaveShape.FormatEnum BMP
public static final SaveShape.FormatEnum TIFF
public static final SaveShape.FormatEnum SVG
public static SaveShape.FormatEnum[] values()
for (SaveShape.FormatEnum c : SaveShape.FormatEnum.values()) System.out.println(c);
public static SaveShape.FormatEnum 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 String getValue()
public String toString()
toString
in class Enum<SaveShape.FormatEnum>
public static SaveShape.FormatEnum fromValue(String text)
Copyright © 2022. All rights reserved.