public class FanRouter extends AutomaticRouter
Connections in a
fan-like fashion upon collision.ConnectionRouter.NullConnectionRouterNULL| Constructor and Description |
|---|
FanRouter() |
| Modifier and Type | Method and Description |
|---|---|
int |
getSeparation()
Returns the separation in pixels between fanned connections.
|
protected void |
handleCollision(PointList points,
int index)
Modifies a given PointList that collides with some other PointList.
|
void |
setSeparation(int value)
Sets the colliding
Connection's separation in pixels. |
getConstraint, invalidate, next, remove, route, setConstraint, setEndPoints, setNextRoutergetEndPoint, getStartPointpublic int getSeparation()
protected void handleCollision(PointList points, int index)
handleCollision in class AutomaticRouterpoints - the colliding pointsindex - the indexpublic void setSeparation(int value)
Connection's separation in pixels.value - the separationCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.