|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Connector
A Connector is a figure that draws itself between two sites on other figures. To do so, it requires two references to sites on other figures.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface diva.canvas.Figure |
|---|
contains, getBounds, getInteractor, getLayer, getOrigin, getParent, getShape, getToolTipText, hit, intersects, setInteractor, setParent, setToolTipText, transform, translate |
| Methods inherited from interface diva.canvas.VisibleComponent |
|---|
isVisible, paint, paint, setVisible |
| Methods inherited from interface diva.canvas.CanvasComponent |
|---|
getTransformContext, repaint, repaint |
| Methods inherited from interface diva.util.UserObjectContainer |
|---|
getUserObject, setUserObject |
| Method Detail |
|---|
Site getHeadSite()
Site getTailSite()
void headMoved()
void reroute()
void route()
void setHeadSite(Site s)
void setTailSite(Site s)
void tailMoved()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||