|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.ics.jung.visualization.control.ModalGraphMouse.Mode
public static class ModalGraphMouse.Mode
The Mode class implements the typesafe enum pattern. This pattern is fully described in Joshua Bloch's book Effective Java Programming Language Guide, Item 21. Created: Sun Aug 28 10:25:16 2005
Field Summary | |
---|---|
static ModalGraphMouse.Mode |
EDITING
|
static ModalGraphMouse.Mode |
PICKING
|
static ModalGraphMouse.Mode |
TRANSFORMING
|
static List |
VALUES
|
Method Summary | |
---|---|
String |
getMode()
Gets the value of mode |
static List |
getValues()
Gets a list of Mode constants. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ModalGraphMouse.Mode TRANSFORMING
public static final ModalGraphMouse.Mode PICKING
public static final ModalGraphMouse.Mode EDITING
public static final List VALUES
Method Detail |
---|
public String getMode()
public static List getValues()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |