|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
salvo.jesus.graph.GraphAddVertexEvent
public class GraphAddVertexEvent
This event is used to notify interested parties that a Vertex object has been added to a Graph object.
Field Summary | |
---|---|
(package private) Vertex |
vertex
The Vertex object that was added to a Graph object |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
GraphAddVertexEvent(java.lang.Object source,
Vertex newvertex)
Creates a GraphAddVertexEvent object indicating the source of the event and the Vertex that was added to a Graph object |
Method Summary | |
---|---|
Vertex |
getVertex()
Returns the Vertex object that was added to a Graph object |
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 |
---|
Vertex vertex
Constructor Detail |
---|
public GraphAddVertexEvent(java.lang.Object source, Vertex newvertex)
source
- source of the event. This is usually the Graph object
where the Vertex object was added.newvertex
- Vertex object that was added to a Graph objectMethod Detail |
---|
public Vertex getVertex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |