freemind.view.mindmapview

Class SharpLinearEdgeView


public class SharpLinearEdgeView
extends EdgeView

This class represents a sharp Edge of a MindMap.

Field Summary

Fields inherited from class freemind.view.mindmapview.EdgeView

end, source, start, target

Constructor Summary

SharpLinearEdgeView(NodeView source, NodeView target)

Method Summary

Color
getColor()
void
paint(Graphics2D g)
void
update()

Methods inherited from class freemind.view.mindmapview.EdgeView

getColor, getLabel, getMap, getModel, getNodeShift, getRealWidth, getSourceShift, getStroke, getTargetShift, getWidth, isAntialiasAll, isAntialiasEdges, paint, setRendering, update

Constructor Details

SharpLinearEdgeView

public SharpLinearEdgeView(NodeView source,
                           NodeView target)

Method Details

getColor

public Color getColor()
Overrides:
getColor in interface EdgeView

paint

public void paint(Graphics2D g)
Overrides:
paint in interface EdgeView

update

public void update()
Overrides:
update in interface EdgeView