public class LinkManhattanConnector extends diva.canvas.connector.ManhattanConnector
Constructor and Description |
---|
LinkManhattanConnector(diva.canvas.Site tail,
diva.canvas.Site head,
Link link)
Construct a new connector with the given tail and head
for the specified link.
|
Modifier and Type | Method and Description |
---|---|
diva.canvas.Site |
getHeadSite()
Override the base class to return a different site for each
connection to a multiport.
|
Link |
getLink()
Return the associated link.
|
diva.canvas.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
public LinkManhattanConnector(diva.canvas.Site tail, diva.canvas.Site head, Link link)
tail
- The tail site.head
- The head site.link
- The link.public diva.canvas.Site getHeadSite()
getHeadSite
in interface diva.canvas.connector.Connector
getHeadSite
in class diva.canvas.connector.AbstractConnector
AbstractConnector.setHeadSite(Site)
public diva.canvas.Site getTailSite()
getTailSite
in interface diva.canvas.connector.Connector
getTailSite
in class diva.canvas.connector.AbstractConnector
AbstractConnector.setTailSite(Site)