|
Eclipse Draw2d 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Routes a Connection, possibly using a constraint.
| Nested Class Summary | |
static class |
ConnectionRouter.NullConnectionRouter
Routes Connections directly from the source anchor to the target anchor with no bendpoints in between. |
| Field Summary | |
static ConnectionRouter |
NULL
The default router for Connections. |
| Method Summary | |
Object |
getConstraint(Connection connection)
Returns the constraint for the Connection. |
void |
invalidate(Connection connection)
Invalidates the given Connection. |
void |
remove(Connection connection)
Removes the Connection from this router. |
void |
route(Connection connection)
Routes the Connection. |
void |
setConstraint(Connection connection,
Object constraint)
Maps the given constraint to the given Connection. |
| Field Detail |
public static final ConnectionRouter NULL
| Method Detail |
public Object getConstraint(Connection connection)
connection - The connection
public void invalidate(Connection connection)
connection - The connection to be invalidatedpublic void route(Connection connection)
connection - The Connection to routepublic void remove(Connection connection)
connection - The Connection to remove
public void setConstraint(Connection connection,
Object constraint)
connection - The Connectionconstraint - The constraint
|
Eclipse Draw2d 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||