public enum ImageOperation extends Enum<ImageOperation>
Enum Constant and Description |
---|
Copy |
Move |
Unassigned |
Modifier and Type | Method and Description |
---|---|
static ImageOperation |
forValue(int value) |
int |
getValue() |
static ImageOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageOperation Unassigned
public static final ImageOperation Copy
public static final ImageOperation Move
public static ImageOperation[] values()
for (ImageOperation c : ImageOperation.values()) System.out.println(c);
public static ImageOperation 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()
public static ImageOperation forValue(int value)
Copyright © 2012. All Rights Reserved.