|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.graph.basic.BubbleRenderer
public class BubbleRenderer
A factory which creates and returns a bubble given a node input to render.
Constructor Summary | |
---|---|
BubbleRenderer()
Create a renderer which renders bubbles white |
|
BubbleRenderer(Paint fillPaint,
Paint strokePaint,
double size)
Create a renderer which renders bubbles in the given fill paint, outlie paint, and size. |
Method Summary | |
---|---|
Paint |
getFillPaint()
Get the fill paint pattern of this figure. |
Paint |
getStrokePaint()
Get the stroke paint pattern of this figure. |
Figure |
render(Object n)
Return the rendered visual representation of this node. |
void |
setFillPaint(Paint p)
Set the fill paint pattern of this figure. |
void |
setStrokePaint(Paint p)
Set the stroke paint pattern of this figure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BubbleRenderer()
public BubbleRenderer(Paint fillPaint, Paint strokePaint, double size)
Method Detail |
---|
public Paint getFillPaint()
public Paint getStrokePaint()
public Figure render(Object n)
render
in interface NodeRenderer
public void setFillPaint(Paint p)
public void setStrokePaint(Paint p)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |