Package | Description |
---|---|
org.eclipse.draw2d |
Primary package containing general interfaces and implementation classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRouter
Base class for implementing a connection router.
|
class |
AutomaticRouter
An abstract router implementation which detects when multiple connections are
overlapping.
|
class |
BendpointConnectionRouter
|
static class |
ConnectionRouter.NullConnectionRouter
Routes Connections directly from the source anchor to the target anchor
with no bendpoints in between.
|
class |
FanRouter
Automatic router that spreads its
Connections in a
fan-like fashion upon collision. |
class |
ManhattanConnectionRouter
Provides a
Connection with an orthogonal route between the
Connection's source and target anchors. |
class |
ShortestPathConnectionRouter
Routes multiple connections around the children of a given container figure.
|
Modifier and Type | Field and Description |
---|---|
protected ConnectionRouter |
ConnectionLayer.connectionRouter
The ConnectionRouter used to route all connections on this layer.
|
static ConnectionRouter |
ConnectionRouter.NULL
The default router for Connections.
|
Modifier and Type | Method and Description |
---|---|
ConnectionRouter |
ConnectionLayer.getConnectionRouter()
Returns the ConnectionRouter being used by this layer.
|
ConnectionRouter |
Connection.getConnectionRouter()
Returns the ConnectionRouter used to route this Connection.
|
ConnectionRouter |
PolylineConnection.getConnectionRouter()
Returns the
ConnectionRouter used to layout this connection. |
protected ConnectionRouter |
AutomaticRouter.next()
Returns the next router in the chain.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionLayer.setConnectionRouter(ConnectionRouter router)
Sets the ConnectionRouter for this layer.
|
void |
Connection.setConnectionRouter(ConnectionRouter router)
Sets the ConnectionRouter for this Connection.
|
void |
PolylineConnection.setConnectionRouter(ConnectionRouter cr)
Sets the connection router which handles the layout of this polyline.
|
void |
AutomaticRouter.setNextRouter(ConnectionRouter router)
Sets the next router.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.