|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Router
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 |
---|
void rerouteHead(Connector c, java.awt.Shape s)
void rerouteTail(Connector c, java.awt.Shape s)
void reroute(Connector c, java.awt.Shape s)
java.awt.Shape route(Connector c)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |