public class ToroidalLinkPainter extends JLinkPainter
Constructor and Description |
---|
ToroidalLinkPainter() |
Modifier and Type | Method and Description |
---|---|
protected void |
drawLine(Graphics2D g2d,
Point p1,
Point p2) |
void |
paintLink(UIComponent uiComponent,
Link link)
Paints the Links.
|
protected void |
toroidalPaint(Graphics2D g2d,
Topology tp,
Point p1,
Point p2,
boolean wrapX,
boolean wrapY) |
drawDestinationPartIfNeeded, drawDirectedDestinationEnd, drawLink, isDirected, setColor, setRenderingHints, setStroke
protected void drawLine(Graphics2D g2d, Point p1, Point p2)
protected void toroidalPaint(Graphics2D g2d, Topology tp, Point p1, Point p2, boolean wrapX, boolean wrapY)
public void paintLink(UIComponent uiComponent, Link link)
LinkPainter
paintLink
in interface LinkPainter
paintLink
in class JLinkPainter
uiComponent
- the graphical object to be drawn on.link
- the Link
to be drawn.