public class BubbleRenderer extends java.lang.Object implements NodeRenderer
Constructor and Description |
---|
BubbleRenderer()
Create a renderer which renders bubbles white
|
BubbleRenderer(java.awt.Paint fillPaint,
java.awt.Paint strokePaint,
double size)
Create a renderer which renders bubbles in the given fill paint,
outlie paint, and size.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Paint |
getFillPaint()
Get the fill paint pattern of this figure.
|
java.awt.Paint |
getStrokePaint()
Get the stroke paint pattern of this figure.
|
Figure |
render(java.lang.Object n)
Return the rendered visual representation of this node.
|
void |
setFillPaint(java.awt.Paint p)
Set the fill paint pattern of this figure.
|
void |
setStrokePaint(java.awt.Paint p)
Set the stroke paint pattern of this figure.
|
public BubbleRenderer()
public BubbleRenderer(java.awt.Paint fillPaint, java.awt.Paint strokePaint, double size)
public java.awt.Paint getFillPaint()
public java.awt.Paint getStrokePaint()
public Figure render(java.lang.Object n)
render
in interface NodeRenderer
n
- The node to render.public void setFillPaint(java.awt.Paint p)
public void setStrokePaint(java.awt.Paint p)