public enum DrawingType extends Enum<DrawingType>
Enum Constant and Description |
---|
IMAGE |
Modifier and Type | Method and Description |
---|---|
static DrawingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DrawingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrawingType IMAGE
public static DrawingType[] values()
for (DrawingType c : DrawingType.values()) System.out.println(c);
public static DrawingType 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 nullCopyright © 2024. All rights reserved.