freemind.view.mindmapview
public class ArrowLinkView extends Object
| Field Summary | |
|---|---|
| protected CubicCurve2D | arrowLinkCurve |
| protected MindMapArrowLink | arrowLinkModel |
| protected int | iterativeLevel |
| protected NodeView | source |
| protected NodeView | target |
| Constructor Summary | |
|---|---|
| protected | ArrowLinkView(MindMapArrowLink arrowLinkModel, NodeView source, NodeView target) |
| Method Summary | |
|---|---|
| boolean | detectCollision(Point p) Determines, whether or not a given point p is in an epsilon-neighbourhood for the cubic curve. |
| Rectangle | getBounds() |
| Color | getColor() |
| protected Rectangle2D | getControlPoint(Point2D p) |
| protected MapView | getMap() |
| MindMapArrowLink | getModel() fc: This getter is public, because the view gets the model by click on the curve. |
| int | getRealWidth()
Get the width in pixels rather than in width constant (like -1) |
| Stroke | getStroke() |
| int | getWidth() |
| protected double | getZoom() |
| void | paint(Graphics graphics) \param iterativeLevel describes the n-th nested arrowLink that is to be painted. |
| protected void | setRendering(Graphics2D g) |