public interface RoutingListener
Instances can be hooked to a PolylineConnection by calling
PolylineConnection.addRoutingListener(RoutingListener).
| Modifier and Type | Interface and Description |
|---|---|
static class |
RoutingListener.Stub
A stub implementation which implements all required methods.
|
| Modifier and Type | Method and Description |
|---|---|
void |
invalidate(Connection connection)
Called when the connection has been invalidated.
|
void |
postRoute(Connection connection)
Called after normal routing has completed.
|
void |
remove(Connection connection)
Called when a connection has been removed from its router.
|
boolean |
route(Connection connection)
Called prior to routing occurring.
|
void |
setConstraint(Connection connection,
java.lang.Object constraint)
Called when the connection's routing constraint has been set or
initialized.
|
void invalidate(Connection connection)
connection - the connectionvoid postRoute(Connection connection)
connection - the routed connectionvoid remove(Connection connection)
connection - the connectionboolean route(Connection connection)
true. If intercepted, the connection's
ConnectionRouter will not perform routing.connection - the connection being routedtrue if routing has been performed by the listenervoid setConstraint(Connection connection, java.lang.Object constraint)
connection - the connectionconstraint - the new constraintCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.