public class LinkManhattanConnector extends ManhattanConnector
Red (eal) |
Yellow (eal) |
_labelLocation
Constructor and Description |
---|
LinkManhattanConnector(Site tail,
Site head,
Link link)
Construct a new connector with the given tail and head
for the specified link.
|
Modifier and Type | Method and Description |
---|---|
Site |
getHeadSite()
Override the base class to return a different site for each
connection to a multiport.
|
Link |
getLink()
Return the associated link.
|
Site |
getTailSite()
Override the base class to return a different site for each
connection to a multiport.
|
getBendRadius, getRouter, repositionLabel, route, setBendRadius, setRouter, translate
getBounds, getDashArray, getHeadEnd, getLabelFigure, getLineWidth, getShape, getStroke, getStrokePaint, getTailEnd, headMoved, hit, intersects, paint, reroute, setDashArray, setHeadEnd, setHeadSite, setLabelFigure, setLineWidth, setShape, setStroke, setStrokePaint, setTailEnd, setTailSite, tailMoved, transform
contains, getInteractor, getLayer, getOrigin, getParent, getToolTipText, getTransformContext, getUserObject, isVisible, paint, repaint, repaint, setInteractor, setParent, setToolTipText, setUserObject, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contains, getInteractor, getLayer, getOrigin, getParent, getToolTipText, setInteractor, setParent, setToolTipText
isVisible, paint, setVisible
getTransformContext, repaint, repaint
getUserObject, setUserObject
public LinkManhattanConnector(Site tail, Site head, Link link)
tail
- The tail site.head
- The head site.link
- The link.public Site getHeadSite()
getHeadSite
in interface Connector
getHeadSite
in class AbstractConnector
public Link getLink()
public Site getTailSite()
getTailSite
in interface Connector
getTailSite
in class AbstractConnector