Package | Description |
---|---|
org.eclipse.draw2d |
Primary package containing general interfaces and implementation classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnectionAnchor
Provides support for anchors which depend on a figure for thier location.
|
class |
ChopboxAnchor
The ChopboxAnchor's location is found by calculating the intersection of a
line drawn from the center point of its owner's box to a reference point on
that box.
|
class |
ConnectionAnchorBase
Provides support for a ConnectionAnchor.
|
class |
EllipseAnchor
Similar to a
ChopboxAnchor , except this anchor is
located on the ellipse defined by the owners bounding box. |
class |
LabelAnchor
LabelAnchors must have an owner of type
Label . |
class |
RoundedRectangleAnchor
Anchor for rounded rectangles which is always on a line between the center
and the reference point.
|
class |
XYAnchor
Supports an anchor in the XY layout.
|
Modifier and Type | Method and Description |
---|---|
ConnectionAnchor |
Connection.getSourceAnchor()
Returns the ConnectionAnchor at the source end of this Connection.
|
ConnectionAnchor |
PolylineConnection.getSourceAnchor() |
ConnectionAnchor |
Connection.getTargetAnchor()
Returns the ConnectionAnchor at the target end of this Connection.
|
ConnectionAnchor |
PolylineConnection.getTargetAnchor() |
Modifier and Type | Method and Description |
---|---|
void |
AnchorListener.anchorMoved(ConnectionAnchor anchor)
Called when an anchor has moved to a new location.
|
void |
PolylineConnection.anchorMoved(ConnectionAnchor anchor)
Called by the anchors of this connection when they have moved,
revalidating this polyline connection.
|
void |
Connection.setSourceAnchor(ConnectionAnchor anchor)
Sets the ConnectionAnchor to be used at the source end of this
Connection.
|
void |
PolylineConnection.setSourceAnchor(ConnectionAnchor anchor)
Sets the anchor to be used at the start of this polyline connection.
|
void |
Connection.setTargetAnchor(ConnectionAnchor anchor)
Sets the ConnectionAnchor to be used at the target end of this
Connection.
|
void |
PolylineConnection.setTargetAnchor(ConnectionAnchor anchor)
Sets the anchor to be used at the end of the polyline connection.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.