public enum PaintEventType extends java.lang.Enum<PaintEventType>
Enum Constant and Description |
---|
CROP
Crop to the selected portion of the image
|
CUT
Cut the selected portion of the image to the system clipboard
|
EXIT
Exit program
|
IMAGE_CHANGED
Set the image as having been changed
|
NEW
Create new image
|
OPEN
Open image
|
PASTE
Paste the image in the system clipboard
|
REDO
Redo last undo
|
SAVE
Save current image
|
SAVE_AS
Save current image as different/new file
|
SWAP_COLORS
Swap primary and secondary colors
|
UNDO
Undo last edit
|
UPDATE_COLORS
Update selected colors
|
Modifier and Type | Method and Description |
---|---|
static PaintEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaintEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaintEventType OPEN
public static final PaintEventType NEW
public static final PaintEventType SAVE
public static final PaintEventType SAVE_AS
public static final PaintEventType EXIT
public static final PaintEventType UPDATE_COLORS
public static final PaintEventType SWAP_COLORS
public static final PaintEventType IMAGE_CHANGED
public static final PaintEventType UNDO
public static final PaintEventType REDO
public static final PaintEventType CUT
public static final PaintEventType PASTE
public static final PaintEventType CROP
public static PaintEventType[] values()
for (PaintEventType c : PaintEventType.values()) System.out.println(c);
public static PaintEventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null