public final class EditMode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static EditMode |
SELECTION
Selection edit mode.
|
static EditMode |
TEXT
Text edit mode.
|
static EditMode |
WAND
Wand mode mode.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Cursor |
getCursor()
Return the cursor for this edit mode.
|
static int |
getWandRadius() |
boolean |
isSelection()
Return true if this edit mode is
SELECTION . |
boolean |
isText()
Return true if this edit mode is
TEXT . |
boolean |
isWand()
Return true if this edit mode is
WAND . |
void |
resetWandCursor()
Reset the wand cursor (must happen when its size is reset).
|
static void |
setWandRadius(int newWandRadius)
Set the new wand radius.
|
public static final EditMode SELECTION
public static final EditMode TEXT
public static final EditMode WAND
public java.awt.Cursor getCursor()
public boolean isSelection()
SELECTION
.SELECTION
public boolean isText()
TEXT
.TEXT
public boolean isWand()
WAND
.WAND
public static int getWandRadius()
public static void setWandRadius(int newWandRadius)
newWandRadius
- the wandRadius to setpublic void resetWandCursor()