public static enum ImageMap.AreaShape extends Enum<ImageMap.AreaShape>
Modifier and Type | Method and Description |
---|---|
static ImageMap.AreaShape |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageMap.AreaShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageMap.AreaShape RECTANGLE
public static final ImageMap.AreaShape CIRCLE
public static final ImageMap.AreaShape POLYGON
public static final ImageMap.AreaShape NONE
public static ImageMap.AreaShape[] values()
for (ImageMap.AreaShape c : ImageMap.AreaShape.values()) System.out.println(c);
public static ImageMap.AreaShape 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