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()
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()
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()
void reroute()
void route()
void setHeadSite(Site s)
s
- The "head" sitevoid setTailSite(Site s)
s
- The "tail" sitevoid tailMoved()