public class KielerLayoutConnector extends LinkManhattanConnector
|Constructor and Description|
Construct a new connector with the given tail and head for the specified link.
|Modifier and Type||Method and Description|
Tell the connector to route itself between the current positions of the head and tail sites.
Notifies layout connections that a layout is in progress, which stops them from deciding to remove layout hints from relations.
getHeadSite, getLink, getTailSite
getBendRadius, getRouter, repositionLabel, 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
tail- The tail site.
head- The head site.
link- The link.
public void route()
public static void setLayoutInProgress(boolean inProgress)
A call to this method with the parameter value
true must always be
followed by a call with the parameter value
Note: This mechanism is not thread-safe! However, since the problem
only occurs while a layout result is being applied through a
MoMLChangeRequest (of which only one is ever being executed at a
given time), this shouldn't be a problem.
trueif a layout result is currently being applied.