Package org.jungrapht.visualization.util
Class BoundingRectanglePaintable<V>
- java.lang.Object
-
- org.jungrapht.visualization.util.BoundingRectanglePaintable<V>
-
- All Implemented Interfaces:
VisualizationServer.Paintable
public class BoundingRectanglePaintable<V> extends Object implements VisualizationServer.Paintable
-
-
Field Summary
Fields Modifier and Type Field Description protected org.jgrapht.Graph<V,?>
graph
protected LayoutModel<V>
layoutModel
protected RenderContext
rc
protected List<Rectangle2D>
rectangles
-
Constructor Summary
Constructors Constructor Description BoundingRectanglePaintable(RenderContext rc, LayoutModel<V> layoutModel)
-
-
-
Field Detail
-
rc
protected RenderContext rc
-
graph
protected org.jgrapht.Graph<V,?> graph
-
layoutModel
protected LayoutModel<V> layoutModel
-
rectangles
protected List<Rectangle2D> rectangles
-
-
Constructor Detail
-
BoundingRectanglePaintable
public BoundingRectanglePaintable(RenderContext rc, LayoutModel<V> layoutModel)
-
-
Method Detail
-
paint
public void paint(Graphics g)
- Specified by:
paint
in interfaceVisualizationServer.Paintable
-
useTransform
public boolean useTransform()
- Specified by:
useTransform
in interfaceVisualizationServer.Paintable
-
-