edu.uci.ics.jung.graph.event
Class GraphEvent<V,E>
java.lang.Object
  
edu.uci.ics.jung.graph.event.GraphEvent<V,E>
- Type Parameters:
 V - the vertex typeE - the edge type
- Direct Known Subclasses: 
 - GraphEvent.Edge, GraphEvent.Vertex
 
public abstract class GraphEvent<V,E>
- extends Object
 
- Author:
 
  - tom nelson
 
 
 
| 
Constructor Summary | 
GraphEvent(Graph<V,E> source,
           GraphEvent.Type type)
 
          Creates an instance with the specified source graph and Type
 (vertex/edge addition/removal). | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
source
protected Graph<V,E> source
type
protected GraphEvent.Type type
GraphEvent
public GraphEvent(Graph<V,E> source,
                  GraphEvent.Type type)
- Creates an instance with the specified 
source graph and Type
 (vertex/edge addition/removal).
 
getSource
public Graph<V,E> getSource()
- Returns:
 - the source
 
 
getType
public GraphEvent.Type getType()
- Returns:
 - the type
 
 
Copyright © 2010 null. All Rights Reserved.