IAnchor), a related abstract base
implementation (AbstractAnchor), as
well as concrete anchor implementations (
StaticAnchor,
ChopBoxAnchor) to manage dynamic
positioning of visuals in dependence of others.See: Description
| Interface | Description |
|---|---|
| ChopBoxAnchor.IComputationStrategy |
The
ChopBoxAnchor.IComputationStrategy is responsible for computing anchor
positions based on an anchorage Node, an anchored Node,
and an anchored reference position (
ChopBoxAnchor.IComputationStrategy.computePositionInScene(Node, Node, Point)). |
| ChopBoxAnchor.IReferencePointProvider |
A
ChopBoxAnchor.IReferencePointProvider needs to be provided as default adapter
(see AdapterKey.get(Class)) on the IAdaptable info that
gets passed into ChopBoxAnchor.attach(AnchorKey, IAdaptable) and
ChopBoxAnchor.detach(AnchorKey, IAdaptable). |
| IAnchor |
| Class | Description |
|---|---|
| AbstractAnchor |
AbstractAnchor is the abstract base implementation for
IAnchors. |
| AnchorKey |
AnchorKey represents a set of anchored
Node and additional
String ID to identify one anchor target. |
| ChopBoxAnchor |
The
ChopBoxAnchor computes anchor positions based on a reference
position per anchored and one reference position for the anchorage. |
| ChopBoxAnchor.IComputationStrategy.Impl |
The default implementation of the
ChopBoxAnchor.IComputationStrategy
computes an anchor position as follows:
Compute the anchorage geometry based on its visual (
ChopBoxAnchor.IComputationStrategy.Impl.getAnchorageReferenceGeometryInLocal(Node)). |
| ChopBoxAnchor.IReferencePointProvider.Impl |
A simple
ChopBoxAnchor.IReferencePointProvider implementation that allows
to statically set reference points for AnchorKeys. |
| 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. |
IAnchor), a related abstract base
implementation (AbstractAnchor), as
well as concrete anchor implementations (
StaticAnchor,
ChopBoxAnchor) to manage dynamic
positioning of visuals in dependence of others.Copyright (c) 2014 itemis AG and others. All rights reserved.