public class NullRenderer extends java.lang.Object implements Renderer
DEFAULT_GRAPHICS| Constructor and Description |
|---|
NullRenderer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
locatePoint(java.awt.geom.Point2D p,
VisualItem item)
Returns true if the Point is located inside the extents of the item.
|
void |
render(java.awt.Graphics2D g,
VisualItem item)
Render item into a Graphics2D context.
|
void |
setBounds(VisualItem item)
Calculates and sets the bounding rectangle for an item.
|
public void render(java.awt.Graphics2D g,
VisualItem item)
Rendererrender in interface Rendererg - the Graphics2D contextitem - the visual item to drawRenderer.render(java.awt.Graphics2D, prefuse.visual.VisualItem)public boolean locatePoint(java.awt.geom.Point2D p,
VisualItem item)
RendererlocatePoint in interface Rendererp - the point to test for containmentitem - the item to test containment againstRenderer.locatePoint(java.awt.geom.Point2D, prefuse.visual.VisualItem)public void setBounds(VisualItem item)
RenderersetBounds in interface Rendereritem - the item to compute the bounding box forRenderer.setBounds(prefuse.visual.VisualItem)