uci.gef
Class FigEdgeLine

java.lang.Object
  |
  +--uci.gef.Fig
        |
        +--uci.gef.FigEdge
              |
              +--uci.gef.FigEdgeLine
Direct Known Subclasses:
FigEdgeLineDotted, FigTrace

public class FigEdgeLine
extends FigEdge

An FigEdge that shows a straight line from the source port to the destination port.

See Also:
Serialized Form

Inner classes inherited from class uci.gef.FigEdge
FigEdge.PathItem
 
Fields inherited from class uci.gef.FigEdge
_arrowHeadEnd, _arrowHeadStart, _destFigNode, _destPortFig, _fig, _highlight, _pathItems, _sourceFigNode, _sourcePortFig, _useNearest
 
Fields inherited from class uci.gef.Fig
_dashes, _fillColor, _filled, _group, _h, _layer, _lineColor, _lineWidth, _locked, _w, _x, _y, BORDER, DASH_ARRAYS, DASHED_CHOICES, MIN_SIZE
 
Constructor Summary
FigEdgeLine()
           
 
Method Summary
protected  void computeRoute()
          Compute the shape of the line that presents an Edge.
protected  Fig makeEdgeFig()
          Instanciate a new FigLine as the contained Fig.
 void paint(Graphics g)
           
 
Methods inherited from class uci.gef.FigEdge
addPathItem, calcBounds, cleanUp, contains, delete, getBetweenNearestPoints, getBounds, getDashed, getDestArrowHead, getDestFigNode, getDestPortFig, getFig, getFirstPoint, getHighlight, getLastPoint, getLineColor, getLineWidth, getNumPoints, getPathItem, getPathItemsRaw, getPerimeterLength, getPoints, getPoints, getSourceArrowHead, getSourceFigNode, getSourcePortFig, getXs, getYs, hit, hitFig, intersects, isReshapable, isResizable, isRotatable, paintArrowHeads, paintHighlightLine, paintPathItems, postLoad, propertyChange, removePathItem, setBetweenNearestPoints, setDashed, setDestArrowHead, setDestFigNode, setDestPortFig, setFig, setHighlight, setLineColor, setLineWidth, setNumPoints, setOwner, setPoints, setPoints, setPoints, setSourceArrowHead, setSourceFigNode, setSourcePortFig, setXs, setYs, stuffPointAlongPerimeter, translateEdge, updatePathItemLocations
 
Methods inherited from class uci.gef.Fig
addPoint, addPropertyChangeListener, align, center, classNameAndBounds, clone, connectionPoint, contains, contains, countCornersContained, createDrag, damage, dispose, drawDashedLine, drawDashedPerimeter, endTrans, firePropChange, firePropChange, firePropChange, getClosestPoint, getDashed01, getDashedString, getEnclosedFigs, getEnclosingFig, getFillColor, getFilled, getFilled01, getGravityPoints, getGroup, getHalfHeight, getHalfWidth, getHeight, getId, getLayer, getLocation, getLocked, getMinimumSize, getOwner, getPopUpActions, getPreferedSize, getSize, getTipString, getTrapRect, getUseTrapRect, getWidth, getX, getY, insertPoint, isLowerRightResizable, isMovable, makeSelection, OK, pointAlongPerimeter, postSave, preSave, print, removePoint, removePropertyChangeListener, reorder, routingRect, setBounds, setBounds, setDashedString, setEnclosingFig, setFillColor, setFilled, setGroup, setHeight, setLayer, setLocation, setLocation, setLocked, setPoints, setPoints, setSize, setSize, setWidth, setX, setY, startTrans, stuffBounds, translate, within
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FigEdgeLine

public FigEdgeLine()
Method Detail

makeEdgeFig

protected Fig makeEdgeFig()
Instanciate a new FigLine as the contained Fig. By default it is black and the FigEdge has no ArrowHeads.
Overrides:
makeEdgeFig in class FigEdge

computeRoute

protected void computeRoute()
Compute the shape of the line that presents an Edge.
Overrides:
computeRoute in class FigEdge

paint

public void paint(Graphics g)
Overrides:
paint in class FigEdge