|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CanvasMouseListener.Mode> org.proteinshader.gui.listeners.CanvasMouseListener.Mode
public static enum CanvasMouseListener.Mode
The mode controls image rotation and camera movements.
Enum Constant Summary | |
---|---|
CAMERA_PAN_XY
Pan camera in xy-plane. |
|
CAMERA_ZOOM_Z
Zoom camera along z-axis. |
|
IMAGE_ROTATE_XY
Rotate image on x-axis and y-axis. |
|
IMAGE_ROTATE_Z
Rotate image on z-axis. |
|
NO_ACTION
No action required. |
Method Summary | |
---|---|
static CanvasMouseListener.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CanvasMouseListener.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CanvasMouseListener.Mode IMAGE_ROTATE_XY
public static final CanvasMouseListener.Mode IMAGE_ROTATE_Z
public static final CanvasMouseListener.Mode CAMERA_PAN_XY
public static final CanvasMouseListener.Mode CAMERA_ZOOM_Z
public static final CanvasMouseListener.Mode NO_ACTION
Method Detail |
---|
public static final CanvasMouseListener.Mode[] values()
for(CanvasMouseListener.Mode c : CanvasMouseListener.Mode.values()) System.out.println(c);
public static CanvasMouseListener.Mode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |