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