org.eclipse.draw2d
Interface ConnectionRouter
-
All Known Implementing Classes:
-
AbstractRouter
- public interface ConnectionRouter
Routes a
Connection
, possibly using a constraint.
NULL
public static final
ConnectionRouter NULL
- The default router for Connections.
getConstraint
public java.lang.Object getConstraint(
Connection connection)
- Returns the constraint for the Connection.
-
-
Parameters:
-
connection
- The connection
-
Returns:
- The constraint
invalidate
public void invalidate(
Connection connection)
- Invalidates the given Connection.
-
-
Parameters:
-
connection
- The connection to be invalidated
route
public void route(
Connection connection)
- Routes the Connection.
-
-
Parameters:
-
connection
- The Connection to route
remove
public void remove(
Connection connection)
- Removes the Connection from this router.
-
-
Parameters:
-
connection
- The Connection to remove
setConstraint
public void setConstraint(
Connection connection,
java.lang.Object constraint)
- Maps the given constraint to the given Connection.
-
-
Parameters:
-
connection
- The Connection -
constraint
- The constraint
Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.