Package | Description |
---|---|
org.eclipse.draw2d |
Primary package containing general interfaces and implementation classes.
|
Modifier and Type | Class and Description |
---|---|
class |
PolylineConnection
An implementation of
Connection based on Polyline. |
Modifier and Type | Method and Description |
---|---|
protected Connection |
ConnectionLocator.getConnection()
Returns connection associated with ConnectionLocator.
|
protected Connection |
RelativeBendpoint.getConnection()
Returns the Connection this Bendpoint is associated with.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ShortestPathConnectionRouter.containsConnection(Connection conn)
Returns true if the given connection is routed by this router, false
otherwise
|
protected PointList |
ViewportAwareConnectionLayerClippingStrategy.getAbsolutePointsAsCopy(Connection connection)
Returns the connection's points in absolute coordinates.
|
java.lang.Object |
BendpointConnectionRouter.getConstraint(Connection connection)
Gets the constraint for the given
Connection . |
java.lang.Object |
ShortestPathConnectionRouter.getConstraint(Connection connection)
Gets the constraint for the given
Connection . |
java.lang.Object |
AutomaticRouter.getConstraint(Connection connection) |
java.lang.Object |
ConnectionRouter.getConstraint(Connection connection)
Returns the constraint for the Connection.
|
java.lang.Object |
AbstractRouter.getConstraint(Connection connection)
Returns the constraint for the given Connection.
|
protected Rectangle[] |
ViewportAwareConnectionLayerClippingStrategy.getEdgeClippingRectangle(Connection connection)
Computes clipping rectangle(s) for a given connection.
|
protected Ray |
ManhattanConnectionRouter.getEndDirection(Connection conn) |
protected Point |
AbstractRouter.getEndPoint(Connection connection)
A convenience method for obtaining a connection's endpoint.
|
protected int |
ManhattanConnectionRouter.getRowNear(Connection connection,
int r,
int n,
int x) |
protected Ray |
ManhattanConnectionRouter.getStartDirection(Connection conn) |
protected Point |
AbstractRouter.getStartPoint(Connection conn)
A convenience method for obtaining a connection's start point.
|
void |
RoutingAnimator.invalidate(Connection conn)
Hooks invalidate for animation purposes.
|
void |
RoutingListener.invalidate(Connection connection)
Called when the connection has been invalidated.
|
void |
RoutingListener.Stub.invalidate(Connection connection) |
void |
ShortestPathConnectionRouter.invalidate(Connection connection) |
void |
ManhattanConnectionRouter.invalidate(Connection connection) |
void |
AutomaticRouter.invalidate(Connection conn) |
void |
ConnectionRouter.invalidate(Connection connection)
Invalidates the given Connection.
|
void |
AbstractRouter.invalidate(Connection connection)
Causes the router to discard any cached information about the given
Connection.
|
void |
RoutingAnimator.postRoute(Connection connection)
Hooks post routing for animation purposes.
|
void |
RoutingListener.postRoute(Connection connection)
Called after normal routing has completed.
|
void |
RoutingListener.Stub.postRoute(Connection connection) |
protected void |
ManhattanConnectionRouter.processPositions(Ray start,
Ray end,
java.util.List positions,
boolean horizontal,
Connection conn) |
void |
RoutingAnimator.remove(Connection connection)
This callback is unused.
|
void |
BendpointConnectionRouter.remove(Connection connection)
Removes the given connection from the map of constraints.
|
void |
RoutingListener.remove(Connection connection)
Called when a connection has been removed from its router.
|
void |
RoutingListener.Stub.remove(Connection connection) |
void |
ShortestPathConnectionRouter.remove(Connection connection) |
void |
ManhattanConnectionRouter.remove(Connection connection) |
void |
AutomaticRouter.remove(Connection conn) |
void |
ConnectionRouter.remove(Connection connection)
Removes the Connection from this router.
|
void |
AbstractRouter.remove(Connection connection)
Removes the given Connection from this routers list of Connections it is
responsible for.
|
protected void |
ManhattanConnectionRouter.removeReservedLines(Connection connection) |
protected void |
ManhattanConnectionRouter.reserveColumn(Connection connection,
java.lang.Integer column) |
protected void |
ManhattanConnectionRouter.reserveRow(Connection connection,
java.lang.Integer row) |
boolean |
RoutingAnimator.route(Connection conn)
Hooks route to intercept routing during animation playback.
|
void |
BendpointConnectionRouter.route(Connection conn)
Routes the
Connection . |
boolean |
RoutingListener.route(Connection connection)
Called prior to routing occurring.
|
boolean |
RoutingListener.Stub.route(Connection connection) |
void |
ShortestPathConnectionRouter.route(Connection conn) |
void |
ManhattanConnectionRouter.route(Connection conn) |
void |
AutomaticRouter.route(Connection conn)
Routes the given connection.
|
void |
ConnectionRouter.route(Connection connection)
Routes the Connection.
|
void |
ConnectionRouter.NullConnectionRouter.route(Connection conn)
Routes the given Connection directly between the source and target
anchors.
|
protected void |
ConnectionLocator.setConnection(Connection connection)
Sets the Connection to be associated with this ConnectionLocator.
|
void |
RelativeBendpoint.setConnection(Connection conn)
Sets the Connection this bendpoint should be associated with.
|
void |
RoutingAnimator.setConstraint(Connection connection,
java.lang.Object constraint)
This callback is unused.
|
void |
BendpointConnectionRouter.setConstraint(Connection connection,
java.lang.Object constraint)
Sets the constraint for the given
Connection . |
void |
RoutingListener.setConstraint(Connection connection,
java.lang.Object constraint)
Called when the connection's routing constraint has been set or
initialized.
|
void |
RoutingListener.Stub.setConstraint(Connection connection,
java.lang.Object constraint) |
void |
ShortestPathConnectionRouter.setConstraint(Connection connection,
java.lang.Object constraint) |
void |
AutomaticRouter.setConstraint(Connection connection,
java.lang.Object constraint)
An AutomaticRouter needs no constraints for the connections it routes.
|
void |
ConnectionRouter.setConstraint(Connection connection,
java.lang.Object constraint)
Maps the given constraint to the given Connection.
|
void |
AbstractRouter.setConstraint(Connection connection,
java.lang.Object constraint)
Sets the constraint for the given Connection.
|
protected void |
AutomaticRouter.setEndPoints(Connection conn)
Sets the start and end points for the given connection.
|
Constructor and Description |
---|
ArrowLocator(Connection connection,
int location)
Constructs an ArrowLocator associated with passed connection and tip
location (either
ConnectionLocator.SOURCE or
ConnectionLocator.TARGET ). |
BendpointLocator(Connection c,
int i)
Creates a BendpointLocator associated with passed Connection c and index
i.
|
ConnectionEndpointLocator(Connection c,
boolean isEnd)
Constructs a ConnectionEndpointLocator using the given
Connection
. |
ConnectionLocator(Connection connection)
Constructs a ConnectionLocator with the passed connection and
ConnectionLocator.MIDDLE alignment. |
ConnectionLocator(Connection connection,
int align)
Constructs a ConnectionLocator with the passed Connection and alignment.
|
MidpointLocator(Connection c,
int i)
Constructs a MidpointLocator with associated Connection c and
index i.
|
RelativeBendpoint(Connection conn)
Constructs a new RelativeBendpoint and associates it with the given
Connection.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.