|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAutomaticRouter
com.ibm.etools.systems.application.visual.editor.routers.internal.RectilinearFanRouter
public class RectilinearFanRouter
The router that detects and avoids the rectilinear connection line overlapping. The connection will fan out in a similar way as oblique fan router does but with rectilinear lines.
| Nested Class Summary | |
|---|---|
protected class |
RectilinearFanRouter.HashKey
|
protected class |
RectilinearFanRouter.MultiValueMap
|
| Field Summary | |
|---|---|
static String |
copyright
|
| Constructor Summary | |
|---|---|
RectilinearFanRouter()
|
|
| Method Summary | |
|---|---|
protected RectilinearFanRouter.MultiValueMap |
getConnections()
|
int |
getSeparation()
Returns the separation in pixels between fanned connections. |
protected void |
handleCollision(PointList points,
int index)
|
protected void |
handleCollisionWith2(PointList points,
int index)
Handle collision if there are only two points in connection, ie, either vertical or horizontal lines. |
protected void |
handleCollisionWith3(PointList points,
int index)
Handle collision with connection which has 3 points ( start point, vertex bendpoint, end point) |
void |
invalidate(Connection conn)
|
void |
remove(Connection conn)
|
void |
route(Connection conn)
Routes the given connection. |
void |
setSeparation(int separation)
Set the separation in pixels between fanned connections. |
protected boolean |
shouldCheckOverlapping(Connection conn)
Check if the given connection is overlapped with other connections. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String copyright
| Constructor Detail |
|---|
public RectilinearFanRouter()
| Method Detail |
|---|
public void route(Connection conn)
handleCollision(PointList, int).
conn - The connection to routeprotected boolean shouldCheckOverlapping(Connection conn)
protected RectilinearFanRouter.MultiValueMap getConnections()
public int getSeparation()
public void setSeparation(int separation)
protected void handleCollision(PointList points,
int index)
protected void handleCollisionWith2(PointList points,
int index)
points - index -
protected void handleCollisionWith3(PointList points,
int index)
points - index - public void invalidate(Connection conn)
org.eclipse.draw2d.ConnectionRouter#invalidate(Connection)public void remove(Connection conn)
org.eclipse.draw2d.ConnectionRouter#remove(Connection)
|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||