|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Event>
annas.graph.Event
public enum Event
Lists all possible event that can occur in a graph
Enum Constant Summary | |
---|---|
Arc_Added
Indicates a Arc has been added to the Graph |
|
Arc_Removed
Indicates a Arc has been removed to the Graph |
|
Arc_Reset
Removes all Arcs from the Graph |
|
Node_Added
Indicates a Node has been added to the Graph |
|
Node_Removed
Indicates a Node has been removed to the Graph |
Method Summary | |
---|---|
static Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Event[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Event Node_Added
public static final Event Node_Removed
public static final Event Arc_Added
public static final Event Arc_Removed
public static final Event Arc_Reset
Method Detail |
---|
public static Event[] values()
for (Event c : Event.values()) System.out.println(c);
public static Event 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |