|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.AbstractRouter
org.eclipse.draw2d.AutomaticRouter
org.eclipse.draw2d.FanRouter
Automatic router that spreads its Connections
in a fan-like fashion
upon collision.
Nested Class Summary |
Nested classes inherited from class org.eclipse.draw2d.ConnectionRouter |
ConnectionRouter.NullConnectionRouter |
Field Summary |
Fields inherited from interface org.eclipse.draw2d.ConnectionRouter |
NULL |
Constructor Summary | |
FanRouter()
|
Method Summary | |
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. |
Methods inherited from class org.eclipse.draw2d.AutomaticRouter |
getConstraint, invalidate, next, remove, route, setConstraint, setEndPoints, setNextRouter |
Methods inherited from class org.eclipse.draw2d.AbstractRouter |
getEndPoint, getStartPoint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FanRouter()
Method Detail |
public int getSeparation()
protected void handleCollision(PointList points, int index)
handleCollision
in class AutomaticRouter
points
- the colliding pointsindex
- the indexpublic void setSeparation(int value)
Connection's
separation in pixels.
value
- the separation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |