Uses of Class
org.eclipse.gef.fx.anchors.AnchorKey
Packages that use AnchorKey
Package
Description
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.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 AnchorKeyModifier and TypeMethodDescriptionDynamicAnchor.anchoredComputationParametersProperty()
Returns aReadOnlySetMultimapProperty
that provides thecomputation parameters
of kindIComputationStrategy.Parameter.Kind.ANCHORED
perAnchorKey
.AbstractAnchor.getKeys()
Returns all keys maintained by this anchor.protected SetMultimap<Node,
AnchorKey> AbstractAnchor.getKeysByNode()
AbstractAnchor.getPositionsUnmodifiable()
Gets the value of the property positionsUnmodifiable.IAnchor.getPositionsUnmodifiable()
AbstractAnchor.positionsUnmodifiableProperty()
IAnchor.positionsUnmodifiableProperty()
Methods in org.eclipse.gef.fx.anchors with parameters of type AnchorKeyModifier and TypeMethodDescriptionvoid
void
void
protected abstract Point
AbstractAnchor.computePosition
(AnchorKey key) Recomputes the position for the given attachedAnchorKey
by delegating to the respectiveIComputationStrategy
.protected Point
DynamicAnchor.computePosition
(AnchorKey key) Recomputes the position for the given attachedAnchorKey
by delegating to the respectiveIComputationStrategy
.protected Point
StaticAnchor.computePosition
(AnchorKey key) void
void
void
<T extends IComputationStrategy.Parameter<?>>
TDynamicAnchor.getComputationParameter
(AnchorKey key, Class<T> parameterType) Retrieves a computation parameter of the respective type for the givenAnchorKey
.protected Set<IComputationStrategy.Parameter<?>>
DynamicAnchor.getParameters
(AnchorKey key) Retrieves the relevant parameters for the computation of the givenAnchorKey
.AbstractAnchor.getPosition
(AnchorKey key) IAnchor.getPosition
(AnchorKey key) Provides a position for the givenAnchorKey
.boolean
AbstractAnchor.isAttached
(AnchorKey key) boolean
IAnchor.isAttached
(AnchorKey key) protected void
AbstractAnchor.updatePosition
(AnchorKey key) Updates the position for the givenAnchorKey
, i.e. -
Uses of AnchorKey in org.eclipse.gef.fx.nodes
Methods in org.eclipse.gef.fx.nodes that return AnchorKeyModifier and TypeMethodDescriptionprotected AnchorKey
Connection.getAnchorKey
(int anchorIndex) Returns theAnchorKey
for the given anchor index, i.e. the reverse ofConnection.getAnchorIndex(AnchorKey)
.protected AnchorKey
Connection.getControlAnchorKey
(int index) Returns theAnchorKey
for the given control anchor index.protected AnchorKey
Connection.getEndAnchorKey()
Returns the endAnchorKey
for thisConnection
.protected AnchorKey
Connection.getStartAnchorKey()
Returns the startAnchorKey
for thisConnection
.Methods in org.eclipse.gef.fx.nodes that return types with arguments of type AnchorKeyModifier and TypeMethodDescriptionprotected MapChangeListener<? super AnchorKey,
? super Point> Creates a position change listener (PCL) whichrefreshes
thisConnection
upon anchor position changes corresponding to the givenAnchorKey
.Methods in org.eclipse.gef.fx.nodes with parameters of type AnchorKeyModifier and TypeMethodDescriptionprotected void
protected MapChangeListener<? super AnchorKey,
? super Point> Creates a position change listener (PCL) whichrefreshes
thisConnection
upon anchor position changes corresponding to the givenAnchorKey
.protected int
Connection.getAnchorIndex
(AnchorKey anchorKey) Returns the anchor index for the givenAnchorKey
.protected int
Connection.getControlAnchorIndex
(AnchorKey key) Returns the control anchor index for the givenAnchorKey
, i.e.protected void
Connection.removeAnchor
(AnchorKey anchorKey, IAnchor anchor) protected void
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)