freemind.view.mindmapview
Class EdgeView
java.lang.Object
freemind.view.mindmapview.EdgeView
public abstract class EdgeView
extends java.lang.Object
This class represents a single Edge of a MindMap.
start
protected Point start
getColor
public abstract Color getColor()
getLabel
public JLabel getLabel()
getNodeShift
protected int getNodeShift(NodeView node)
Get the vertical shift due to alignment of node connexion and edge width.
Bold edges are centered by Graphic. Applies this shift to change this.
getRealWidth
public int getRealWidth()
Get the width in pixels rather than in width constant (like -1)
getSourceShift
protected int getSourceShift()
getStroke
public Stroke getStroke()
getTargetShift
protected int getTargetShift()
getWidth
public int getWidth()
isAntialiasAll
public boolean isAntialiasAll()
isAntialiasEdges
public boolean isAntialiasEdges()
paint
public void paint(Graphics2D g)
setRendering
protected void setRendering(Graphics2D g)
update
public void update()
This should be a task of MindMapLayout
start,end must be initialized...