|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdiva.canvas.connector.BasicManhattanRouter
A basic manhattan router.
| Constructor Summary | |
BasicManhattanRouter()
|
|
| 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. |
Polyline2D |
routeManhattan(ManhattanConnector c)
Route the given connector, returning a Polyline2D. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicManhattanRouter()
| Method Detail |
public void rerouteHead(Connector c,
java.awt.Shape s)
rerouteHead in interface Router
public void rerouteTail(Connector c,
java.awt.Shape s)
rerouteTail in interface Router
public void reroute(Connector c,
java.awt.Shape s)
reroute in interface Routerpublic java.awt.Shape route(Connector c)
route in interface Routerpublic Polyline2D routeManhattan(ManhattanConnector c)
routeManhattan in interface ManhattanRouter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||