public class BoundingRectangleCollector<V,E>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected edu.uci.ics.jung.graph.Graph<V,E> |
graph |
protected edu.uci.ics.jung.algorithms.layout.Layout<V,E> |
layout |
protected RenderContext<V,E> |
rc |
protected java.util.List<java.awt.geom.Rectangle2D> |
rectangles |
Constructor and Description |
---|
BoundingRectangleCollector(RenderContext<V,E> rc,
edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout) |
Modifier and Type | Method and Description |
---|---|
void |
compute() |
java.util.List<java.awt.geom.Rectangle2D> |
getRectangles() |
protected RenderContext<V,E> rc
protected java.util.List<java.awt.geom.Rectangle2D> rectangles
public BoundingRectangleCollector(RenderContext<V,E> rc, edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout)