org.graffiti.plugin.view
Interface EdgeShape

All Superinterfaces:
GraffitiShape, GraphElementShape, Shape

public interface EdgeShape
extends GraphElementShape

DOCUMENT ME!

Version:
$Revision: 5768 $
Author:
$Author: gleissner $

Field Summary
static double CLICK_TOLERANCE
          The allowed distance of a mouse click from an edge where the edge is still selected.
 
Method Summary
 void buildShape(EdgeGraphicAttribute graphics, NodeShape source, NodeShape target)
          Called when one of the nodes belonging to this edge has changed.
 Shape getHeadArrow()
          Returns the shape representing the arrow at the target node.
 Shape getTailArrow()
          Returns the shape representing the arrow at the source node.
 
Methods inherited from interface org.graffiti.plugin.view.GraphElementShape
getRealBounds2D
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, intersects, intersects
 

Field Detail

CLICK_TOLERANCE

static final double CLICK_TOLERANCE
The allowed distance of a mouse click from an edge where the edge is still selected.

See Also:
Constant Field Values
Method Detail

getHeadArrow

Shape getHeadArrow()
Returns the shape representing the arrow at the target node.

Returns:
the shape representing the arrow at the target node.

getTailArrow

Shape getTailArrow()
Returns the shape representing the arrow at the source node.

Returns:
the shape representing the arrow at the source node.

buildShape

void buildShape(EdgeGraphicAttribute graphics,
                NodeShape source,
                NodeShape target)
                throws ShapeNotFoundException
Called when one of the nodes belonging to this edge has changed.

Parameters:
graphics -
source -
target -
Throws:
ShapeNotFoundException


Generated at 2012-05-30 11:00:36 PM CEST