Package org.eclipse.draw2d
Class BendpointConnectionRouter
java.lang.Object
org.eclipse.draw2d.AbstractRouter
org.eclipse.draw2d.BendpointConnectionRouter
- All Implemented Interfaces:
- ConnectionRouter
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.eclipse.draw2d.ConnectionRouterConnectionRouter.NullConnectionRouter
- 
Field SummaryFields inherited from interface org.eclipse.draw2d.ConnectionRouterNULL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetConstraint(Connection connection) Gets the constraint for the givenConnection.voidremove(Connection connection) Removes the given connection from the map of constraints.voidroute(Connection conn) Routes theConnection.voidsetConstraint(Connection connection, Object constraint) Sets the constraint for the givenConnection.Methods inherited from class org.eclipse.draw2d.AbstractRoutergetEndPoint, getStartPoint, invalidate
- 
Constructor Details- 
BendpointConnectionRouterpublic BendpointConnectionRouter()
 
- 
- 
Method Details- 
getConstraintGets the constraint for the givenConnection.- Specified by:
- getConstraintin interface- ConnectionRouter
- Overrides:
- getConstraintin class- AbstractRouter
- Parameters:
- connection- The connection whose constraint we are retrieving
- Returns:
- The constraint
- Since:
- 3.15
 
- 
removeRemoves the given connection from the map of constraints.- Specified by:
- removein interface- ConnectionRouter
- Overrides:
- removein class- AbstractRouter
- Parameters:
- connection- The connection to remove
 
- 
routeRoutes theConnection. Expects the constraint to be a List ofBendpoints.- Parameters:
- conn- The connection to route
 
- 
setConstraintSets the constraint for the givenConnection.- Specified by:
- setConstraintin interface- ConnectionRouter
- Overrides:
- setConstraintin class- AbstractRouter
- Parameters:
- connection- The connection whose constraint we are setting
- constraint- The constraint, which as to be a List<Bendpoint>
 
 
-