# Uses of Class
org.eclipse.gef.fx.anchors.AnchorKey

Packages that use AnchorKey
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 AnchorKey in org.eclipse.gef.fx.anchors

Methods in org.eclipse.gef.fx.anchors that return types with arguments of type AnchorKey
Modifier and Type
Method
Description
`protected ReadOnlySetMultimapProperty<AnchorKey,IComputationStrategy.Parameter<?>>`
DynamicAnchor.`anchoredComputationParametersProperty()`
Returns a `ReadOnlySetMultimapProperty` that provides the `computation parameters` of kind `IComputationStrategy.Parameter.Kind.ANCHORED` per `AnchorKey`.
`protected Set<AnchorKey>`
AbstractAnchor.`getKeys()`
Returns all keys maintained by this anchor.
`protected SetMultimap<javafx.scene.Node,AnchorKey>`
AbstractAnchor.`getKeysByNode()`
Returns the `Map` which stores the registered `AnchorKey`s per `Node` by reference.
`javafx.collections.ObservableMap<AnchorKey,Point>`
AbstractAnchor.`getPositionsUnmodifiable()`
Gets the value of the property positionsUnmodifiable.
`javafx.collections.ObservableMap<AnchorKey,Point>`
IAnchor.`getPositionsUnmodifiable()`
Provides an observable read-only (map) with positions (in local coordinates of the anchored `Node`s) for all attached `AnchorKey`s.
`javafx.beans.property.ReadOnlyMapProperty<AnchorKey,Point>`
AbstractAnchor.`positionsUnmodifiableProperty()`
`javafx.beans.property.ReadOnlyMapProperty<AnchorKey,Point>`
IAnchor.`positionsUnmodifiableProperty()`
Provides a read-only (map) property with positions (in local coordinates of the anchored `Node`s) for all attached `AnchorKey`s.
Methods in org.eclipse.gef.fx.anchors with parameters of type AnchorKey
Modifier and Type
Method
Description
`void`
AbstractAnchor.`attach(AnchorKey key)`
`void`
DynamicAnchor.`attach(AnchorKey key)`
`void`
IAnchor.`attach(AnchorKey key)`
Attaches the given `AnchorKey` to this `IAnchor`.
`protected abstract Point`
AbstractAnchor.`computePosition(AnchorKey key)`
Recomputes the position for the given attached `AnchorKey` by delegating to the respective `IComputationStrategy`.
`protected Point`
DynamicAnchor.`computePosition(AnchorKey key)`
Recomputes the position for the given attached `AnchorKey` by delegating to the respective `IComputationStrategy`.
`protected Point`
StaticAnchor.`computePosition(AnchorKey key)`
`void`
AbstractAnchor.`detach(AnchorKey key)`
`void`
DynamicAnchor.`detach(AnchorKey key)`
`void`
IAnchor.`detach(AnchorKey key)`
Detaches the given `AnchorKey` from this `IAnchor`.
`<T extends IComputationStrategy.Parameter<?>>
T`
DynamicAnchor.`getComputationParameter(AnchorKey key, Class<T> parameterType)`
Retrieves a computation parameter of the respective type for the given `AnchorKey`.
`protected Set<IComputationStrategy.Parameter<?>>`
DynamicAnchor.`getParameters(AnchorKey key)`
Retrieves the relevant parameters for the computation of the given `AnchorKey`.
`Point`
AbstractAnchor.`getPosition(AnchorKey key)`
`Point`
IAnchor.`getPosition(AnchorKey key)`
Provides a position for the given `AnchorKey`.
`boolean`
AbstractAnchor.`isAttached(AnchorKey key)`
`boolean`
IAnchor.`isAttached(AnchorKey key)`
Determines if the given `AnchorKey` is currently attached to this `IAnchor`.
`protected void`
AbstractAnchor.`updatePosition(AnchorKey key)`
Updates the position for the given `AnchorKey`, i.e.

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

Methods in org.eclipse.gef.fx.nodes that return AnchorKey
Modifier and Type
Method
Description
`protected AnchorKey`
Connection.`getAnchorKey(int anchorIndex)`
Returns the `AnchorKey` for the given anchor index, i.e. the reverse of `Connection.getAnchorIndex(AnchorKey)`.
`protected AnchorKey`
Connection.`getControlAnchorKey(int index)`
Returns the `AnchorKey` for the given control anchor index.
`protected AnchorKey`
Connection.`getEndAnchorKey()`
Returns the end `AnchorKey` for this `Connection`.
`protected AnchorKey`
Connection.`getStartAnchorKey()`
Returns the start `AnchorKey` for this `Connection`.
Methods in org.eclipse.gef.fx.nodes that return types with arguments of type AnchorKey
Modifier and Type
Method
Description
`protected javafx.collections.MapChangeListener<? super AnchorKey,? super Point>`
Connection.`createPCL(AnchorKey anchorKey)`
Creates a position change listener (PCL) which `refreshes` this `Connection` upon anchor position changes corresponding to the given `AnchorKey`.
Methods in org.eclipse.gef.fx.nodes with parameters of type AnchorKey
Modifier and Type
Method
Description
`protected void`
Connection.`addAnchor(AnchorKey anchorKey, IAnchor anchor)`
Inserts the given `IAnchor` into the `Connection.anchorsUnmodifiableProperty()` of this `Connection`.
`protected javafx.collections.MapChangeListener<? super AnchorKey,? super Point>`
Connection.`createPCL(AnchorKey anchorKey)`
Creates a position change listener (PCL) which `refreshes` this `Connection` upon anchor position changes corresponding to the given `AnchorKey`.
`protected int`
Connection.`getAnchorIndex(AnchorKey anchorKey)`
Returns the anchor index for the given `AnchorKey`.
`protected int`
Connection.`getControlAnchorIndex(AnchorKey key)`
Returns the control anchor index for the given `AnchorKey`, i.e.
`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`.
`protected void`
AbstractRouter.`updateComputationParameters(List<Point> points, int index, DynamicAnchor anchor, AnchorKey key)`
Update's the reference point of the anchor with the given index.
`protected void`
OrthogonalRouter.`updateComputationParameters(List<Point> points, int index, DynamicAnchor anchor, AnchorKey key)`