Class BoundingRectangleCollector<V,​E>


  • public class BoundingRectangleCollector<V,​E>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field 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  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void compute()  
      java.util.List<java.awt.geom.Rectangle2D> getRectangles()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • graph

        protected edu.uci.ics.jung.graph.Graph<V,​E> graph
      • layout

        protected edu.uci.ics.jung.algorithms.layout.Layout<V,​E> layout
      • rectangles

        protected java.util.List<java.awt.geom.Rectangle2D> rectangles
    • Constructor Detail

      • BoundingRectangleCollector

        public BoundingRectangleCollector​(RenderContext<V,​E> rc,
                                          edu.uci.ics.jung.algorithms.layout.Layout<V,​E> layout)
    • Method Detail

      • getRectangles

        public java.util.List<java.awt.geom.Rectangle2D> getRectangles()
        Returns:
        the rectangles
      • compute

        public void compute()