Uses of Package
org.eclipse.gef.fx.anchors
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
-
ClassDescription
AbstractAnchor
is the abstract base implementation forIAnchor
s.AnchorKey combines an anchoredNode
with aString
qualifier to identify an anchor target.TheIComputationStrategy
is responsible for computing anchor positions based on the anchorageNode
, the anchoredNode
, and respective (strategy-specific)parameters
.Base class for all computation parameters that can be passed to anIComputationStrategy
.Indicates whether the parameter value can be shared to compute positions of all attached anchors or not.AnIComputationStrategy
that computes anchor position by projecting the respective anchored reference point to the outline of the anchorage reference geometry so that the respective point has minimal distance to the anchored reference point. -
ClassDescription
AbstractAnchor
is the abstract base implementation forIAnchor
s.AnchorKey combines an anchoredNode
with aString
qualifier to identify an anchor target.TheDynamicAnchor
computes anchor positions through aIComputationStrategy
.AnStaticAnchor
provides a position for eachAnchorKey
, based on a reference position relative to the anchorageNode
, to which theStaticAnchor
is bound, or based on a (global) static reference position in case theStaticAnchor
is unbound.