|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A Router is an object that can be used to help a connector route itself. Specific implementations of Router are used by connectors according to the Shape that they use to draw themselves.
| Method Summary | |
void |
reroute(Connector c,
java.awt.Shape s)
Reroute the given shape, given that both the head the tail sites moved. |
void |
rerouteHead(Connector c,
java.awt.Shape s)
Reroute the given Shape, given that the head site moved. |
void |
rerouteTail(Connector c,
java.awt.Shape s)
Reroute the given Shape, given that the tail site moved. |
java.awt.Shape |
route(Connector c)
Route the given connector, returning a shape of the appropriate type that it can used to draw itself with. |
| Method Detail |
public void rerouteHead(Connector c,
java.awt.Shape s)
public void rerouteTail(Connector c,
java.awt.Shape s)
public void reroute(Connector c,
java.awt.Shape s)
public java.awt.Shape route(Connector c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||