edu.uci.ics.jung.visualization.layout
Class BoundingRectangleCollector<V,E>

java.lang.Object
  extended by edu.uci.ics.jung.visualization.layout.BoundingRectangleCollector<V,E>

public class BoundingRectangleCollector<V,E>
extends Object


Field Summary
protected  Graph<V,E> graph
           
protected  Layout<V,E> layout
           
protected  RenderContext<V,E> rc
           
protected  List<Rectangle2D> rectangles
           
 
Constructor Summary
BoundingRectangleCollector(RenderContext<V,E> rc, Layout<V,E> layout)
           
 
Method Summary
 void compute()
           
 List<Rectangle2D> getRectangles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rc

protected RenderContext<V,E> rc

graph

protected Graph<V,E> graph

layout

protected Layout<V,E> layout

rectangles

protected List<Rectangle2D> rectangles
Constructor Detail

BoundingRectangleCollector

public BoundingRectangleCollector(RenderContext<V,E> rc,
                                  Layout<V,E> layout)
Method Detail

getRectangles

public List<Rectangle2D> getRectangles()
Returns:
the rectangles

compute

public void compute()


Copyright © 2009. All Rights Reserved.