public interface Connector extends Figure
Modifier and Type | Method and Description |
---|---|
Site |
getHeadSite()
Get the site that marks the "head" of the connector.
|
Site |
getTailSite()
Get the site that marks the "tail" of the connector.
|
void |
headMoved(double dx,
double dy)
Inform the connector that the head site has moved.
|
void |
reroute()
Tell the connector to re-route itself.
|
void |
route()
Tell the connector to route itself completely,
using all available information.
|
void |
setHeadSite(Site s)
Set the site that marks the "head" of the connector.
|
void |
setTailSite(Site s)
Set the site that marks the "tail" of the connector.
|
void |
tailMoved(double dx,
double dy)
Inform the connector that the tail site has moved.
|
contains, getBounds, getInteractor, getLayer, getOrigin, getParent, getShape, getToolTipText, hit, intersects, setInteractor, setParent, setToolTipText, transform, translate
isVisible, paint, paint, setVisible
getTransformContext, repaint, repaint
getUserObject, setUserObject
Site getHeadSite()
Site getTailSite()
void headMoved(double dx, double dy)
void reroute()
void route()
void setHeadSite(Site s)
void setTailSite(Site s)
void tailMoved(double dx, double dy)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.