View Javadoc
1   package edu.uci.ics.jung.visualization.layout;
2   
3   import edu.uci.ics.jung.graph.Graph;
4   
5   public class LayoutEvent<V,E> {
6   	
7   	V vertex;
8   	Graph<V,E> graph;
9   
10  	public LayoutEvent(V vertex, Graph<V, E> graph) {
11  		this.vertex = vertex;
12  		this.graph = graph;
13  	}
14  	public V getVertex() {
15  		return vertex;
16  	}
17  	public void setVertex(V vertex) {
18  		this.vertex = vertex;
19  	}
20  	public Graph<V, E> getGraph() {
21  		return graph;
22  	}
23  	public void setGraph(Graph<V, E> graph) {
24  		this.graph = graph;
25  	}
26  }