|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simbrain.network.EditMode
public final class EditMode
Typesafe enumeration of edit modes.
| Field Summary | |
|---|---|
static EditMode |
PAN
Pan edit mode. |
static EditMode |
SELECTION
Selection edit mode. |
static Collection |
VALUES
Collection of edit mode values. |
static EditMode |
ZOOM_IN
Zoom in edit mode. |
static EditMode |
ZOOM_OUT
Zoom out edit mode. |
| Method Summary | |
|---|---|
Cursor |
getCursor()
Return the cursor for this edit mode. |
boolean |
isPan()
Return true if this edit mode is PAN. |
boolean |
isSelection()
Return true if this edit mode is SELECTION. |
boolean |
isZoom()
Return true if this edit mode is either ZOOM_IN
or ZOOM_OUT. |
boolean |
isZoomIn()
Return true if this edit mode is ZOOM_IN. |
boolean |
isZoomOut()
Return true if this edit mode is ZOOM_OUT. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final EditMode SELECTION
public static final EditMode PAN
public static final EditMode ZOOM_IN
public static final EditMode ZOOM_OUT
public static final Collection VALUES
| Method Detail |
|---|
public Cursor getCursor()
public boolean isSelection()
SELECTION.
SELECTIONpublic boolean isPan()
PAN.
PANpublic boolean isZoomIn()
ZOOM_IN.
ZOOM_INpublic boolean isZoomOut()
ZOOM_OUT.
ZOOM_OUTpublic boolean isZoom()
ZOOM_IN
or ZOOM_OUT.
ZOOM_IN
or ZOOM_OUT
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||