Package org.eclipse.gef.fx.nodes
package org.eclipse.gef.fx.nodes
This package provides:
- an adaptation of an
IGeometry
toNode
: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
-
ClassDescriptionAbstract base class for
IConnectionInterpolator
implementations, which supports updating the geometry for anIGeometry
curve node, as well as arranging and clipping the decorations.Abstract base class forIConnectionRouter
s implementing a routing strategy that can be specialized by subclasses: Remove anchors previously inserted by the router.AAbstractRouter.ControlPointManipulator
can be used to record, perform, and roll back control point changes during routing.TheAbstractRouter.VolatileStaticAnchor
is aStaticAnchor
that may be inserted by anAbstractRouter
duringroute(Connection)
, and, hence, will be removed when routing is performed again.A (binary)Connection
is a visual curveProperty, whose appearance is defined through a single start and end point, and a set of control points, which may be 'connected', i.e. be attached to anIAnchor
.GeometryNode<T extends IGeometry>AGroup
that combines twoImageView
s, realizing an overlay effect (by adjusting the respective opacities) upon mouse hover.AnIConnectionInterpolator
is responsible for updating theConnection
'scurve node
(which includes to properly clip it at the start and end decorations), as well as for arranging the decorations.AnInfiniteCanvas
provides a means to render a portion of a hypothetically infinite canvas, on which arbitrary contents can be placed.AnIConnectionRouter
that interprets theConnection
control points as way points and adjusts the way points (if necessary) so that theConnection
is routed orthogonally.ThePolyBezierInterpolator
interpolates a cubic Bezier spline through the suppliedway points
.TheStraightRouter
is anIConnectionRouter
that leaves theConnection
's control points untouched and only provides reference points for theConnection
's anchors.