# Uses of Interface
org.eclipse.draw2d.ConnectionAnchor

Packages that use ConnectionAnchor
Package
Description
org.eclipse.draw2d
Primary package containing general interfaces and implementation classes.

## Uses of ConnectionAnchor in org.eclipse.draw2d

Classes in org.eclipse.draw2d that implement ConnectionAnchor
Modifier and Type
Class
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.
Methods in org.eclipse.draw2d that return ConnectionAnchor
Modifier and Type
Method
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()`
Methods in org.eclipse.draw2d with parameters of type ConnectionAnchor
Modifier and Type
Method
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.