# Uses of Interface
org.eclipse.gef.fx.anchors.IAnchor

Packages that use IAnchor
Package
Description
org.eclipse.gef.fx.anchors
This package provides a visual anchor abstraction ( `IAnchor`), a related abstract base implementation (`AbstractAnchor`), as well as concrete anchor implementations ( `StaticAnchor`, `DynamicAnchor`) to manage dynamic positioning of visuals in dependence of others.
org.eclipse.gef.fx.nodes
This package provides: an adaptation of an `IGeometry` to `Node`: `GeometryNode` a connection abstraction that is based on `IAnchor`: `Connection` a visual to display an image which is overlayed by another image on mouse hover: `HoverOverlayImageView` a visual providing a scrollable infinite canvas with a background grid: `InfiniteCanvas`

## Uses of IAnchor in org.eclipse.gef.fx.anchors

Classes in org.eclipse.gef.fx.anchors that implement IAnchor
Modifier and Type
Class
Description
`class`
`AbstractAnchor`
`AbstractAnchor` is the abstract base implementation for `IAnchor`s.
`class`
`DynamicAnchor`
The `DynamicAnchor` computes anchor positions through a `IComputationStrategy`.
`class`
`StaticAnchor`
An `StaticAnchor` provides a position for each `AnchorKey`, based on a reference position relative to the anchorage `Node`, to which the `StaticAnchor` is bound, or based on a (global) static reference position in case the `StaticAnchor` is unbound.

## Uses of IAnchor in org.eclipse.gef.fx.nodes

Classes in org.eclipse.gef.fx.nodes that implement IAnchor
Modifier and Type
Class
Description
`protected static class`
`AbstractRouter.VolatileStaticAnchor`
The `AbstractRouter.VolatileStaticAnchor` is a `StaticAnchor` that may be inserted by an `AbstractRouter` during `route(Connection)`, and, hence, will be removed when routing is performed again.
Methods in org.eclipse.gef.fx.nodes that return IAnchor
Modifier and Type
Method
Description
`IAnchor`
Connection.`getAnchor(int index)`
Returns the anchor at the given index.
`IAnchor`
Connection.`getControlAnchor(int index)`
Returns the control `anchor` for the given control anchor index which is currently assigned, or `null` if no control `anchor` is assigned for that index.
`IAnchor`
Connection.`getEndAnchor()`
Returns the currently assigned end `anchor`, or `null` if no end `anchor` is assigned.
`IAnchor`
Connection.`getStartAnchor()`
Returns the currently assigned start `anchor`, or `null` if no start `anchor` is assigned.
Methods in org.eclipse.gef.fx.nodes that return types with arguments of type IAnchor
Modifier and Type
Method
Description
`ReadOnlyListProperty<IAnchor>`
Connection.`anchorsUnmodifiableProperty()`
Returns an unmodifiable read-only list property, which contains the `IAnchor`s that determine the start point, control points, and end point of this `Connection`.
`ObservableList<IAnchor>`
Connection.`getAnchorsUnmodifiable()`
Returns a `List` containing the `IAnchor`s which are assigned to this `Connection` in the order: start anchor, control point anchorsByKeys, end anchor.
`List<IAnchor>`
Connection.`getControlAnchors()`
Returns a `List` containing the control `anchorsByKeys` currently assigned to this `Connection`.
Methods in org.eclipse.gef.fx.nodes with parameters of type IAnchor
Modifier and Type
Method
Description
`protected void`
Connection.`addAnchor(AnchorKey anchorKey, IAnchor anchor)`
Inserts the given `IAnchor` into the `Connection.anchorsUnmodifiableProperty()` of this `Connection`.
`void`
Connection.`addControlAnchor(int index, IAnchor anchor)`
Adds the given `IAnchor` as a control point anchor for the given index into the `Connection.anchorsUnmodifiableProperty()` of this `Connection`.
`boolean`
Connection.`isConnected(IAnchor anchor)`
Return `true` in case the anchor is bound to an anchorage unequal to this connection.
`protected void`
Connection.`removeAnchor(AnchorKey anchorKey, IAnchor anchor)`
Removes the given `AnchorKey` (and corresponding `IAnchor`) from this `Connection`.
`protected void`
Connection.`setAnchor(AnchorKey anchorKey, IAnchor anchor)`
Replaces the anchor currently registered for the given `AnchorKey` with the given `IAnchor`.
`void`
Connection.`setControlAnchor(int index, IAnchor anchor)`
Sets the control anchor for the given control anchor index to the given `IAnchor`.
`void`
Connection.`setEndAnchor(IAnchor anchor)`
Sets the end `IAnchor` of this `Connection` to the given value.
`void`
Connection.`setStartAnchor(IAnchor anchor)`
Sets the start `IAnchor` of this `Connection` to the given value.
`boolean`
AbstractRouter.`wasInserted(IAnchor anchor)`
`boolean`
IConnectionRouter.`wasInserted(IAnchor anchor)`
Returns `true` if the given `IAnchor` was added by this `IConnectionRouter` during `IConnectionRouter.route(Connection)`.
Method parameters in org.eclipse.gef.fx.nodes with type arguments of type IAnchor
Modifier and Type
Method
Description
`void`
Connection.`setAnchors(List<IAnchor> anchors)`
Replaces all anchors of this `Connection` with the given `IAnchor`s, i.e. the first given `IAnchor` replaces the currently assigned start anchor, the last given `IAnchor` replaces the currently assigned end anchor, and the intermediate `IAnchor`s replace the currently assigned control anchorsByKeys.
`void`
Connection.`setControlAnchors(List<IAnchor> anchors)`
Replaces all control anchorsByKeys of this `Connection` with the given `List` of `IAnchor`s.