pedviz.algorithms.sugiyama
Class SugiyamaEdgeView

java.lang.Object
  extended by pedviz.view.DefaultEdgeView
      extended by pedviz.view.EdgeView
          extended by pedviz.algorithms.sugiyama.SugiyamaEdgeView

public class SugiyamaEdgeView
extends EdgeView

This class extends the EdgeView class by some methods used by the sugiyama algorithm.

Author:
lukas forer

Constructor Summary
SugiyamaEdgeView(Edge edge, DefaultEdgeView defaultEdgeView)
          Creates a new SugiyamaEdgeView object for the given edge and with the given settings.
 
Method Summary
 float getEndPos()
          Returns the end point of the edge.
 
Methods inherited from class pedviz.view.EdgeView
getAlpha, getColor, getData, getEdge, getEnd, getEnds, getStart, isHidden, isHighlighted, setData, setEnds, setStart
 
Methods inherited from class pedviz.view.DefaultEdgeView
getAlphaForLongLines, getColorForLongLines, getDeltaX, getDeltaY, getDeltaZ, getGapBottom, getGapTop, getHighlightedColor, getHighlightedWidth, getWidth, isConnectChildren, setAlpha, setAlphaForLongLines, setColor, setColorForLongLines, setConnectChildren, setDeltaForLongLines, setGapBottom, setGapTop, setHighlightedColor, setHighlightedWidth, setWidth
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SugiyamaEdgeView

public SugiyamaEdgeView(Edge edge,
                        DefaultEdgeView defaultEdgeView)
Creates a new SugiyamaEdgeView object for the given edge and with the given settings.

Parameters:
edge - Edge
defaultEdgeView - default settings.
Method Detail

getEndPos

public float getEndPos()
Returns the end point of the edge.

Returns:
the end point of the edge.