|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
org.globus.cog.util.graph.GraphChangedEvent
Describes a graph event
| Field Summary | |
static int |
EDGE_ADDED
|
static int |
EDGE_REMOVED
|
static int |
NODE_ADDED
|
static int |
NODE_REMOVED
|
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
GraphChangedEvent(Object source,
int type)
Constructs a GraphChangedEvent |
|
GraphChangedEvent(Object source,
int type,
Edge element)
Constructs a GraphChangedEvent |
|
GraphChangedEvent(Object source,
int type,
Node element)
Constructs a GraphChangedEvent |
|
GraphChangedEvent(Object source,
int type,
Object element)
Constructs a GraphChangedEvent |
|
| Method Summary | |
Edge |
getEdge()
Returns the edge involved in this event |
Node |
getNode()
Returns the node involved in this event |
int |
getType()
Returns the type of this event |
protected void |
setEdge(Edge edge)
|
protected void |
setNode(Node node)
|
protected void |
setType(int type)
|
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int NODE_ADDED
public static final int EDGE_ADDED
public static final int NODE_REMOVED
public static final int EDGE_REMOVED
| Constructor Detail |
public GraphChangedEvent(Object source,
int type,
Node element)
source - the source graphtype - the type of the changeelement - the node that was added/removed
public GraphChangedEvent(Object source,
int type,
Edge element)
source - the source graphtype - the type of the changeelement - the edge that was added/removed
public GraphChangedEvent(Object source,
int type,
Object element)
source - the source graphtype - the type of the changeelement - the element that was added/removed
public GraphChangedEvent(Object source,
int type)
source - the source graphtype - the type of the event| Method Detail |
protected void setType(int type)
public int getType()
public Node getNode()
protected void setNode(Node node)
public Edge getEdge()
protected void setEdge(Edge edge)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||