Package org.eclipse.gef.fx.nodes
package org.eclipse.gef.fx.nodes
This package provides:
- an adaptation of an
IGeometrytoNode: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
IConnectionInterpolatorimplementations, which supports updating the geometry for anIGeometrycurve node, as well as arranging and clipping the decorations.Abstract base class forIConnectionRouters implementing a routing strategy that can be specialized by subclasses: Remove anchors previously inserted by the router.AAbstractRouter.ControlPointManipulatorcan be used to record, perform, and roll back control point changes during routing.TheAbstractRouter.VolatileStaticAnchoris aStaticAnchorthat may be inserted by anAbstractRouterduringroute(Connection), and, hence, will be removed when routing is performed again.A (binary)Connectionis 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>AGroupthat combines twoImageViews, realizing an overlay effect (by adjusting the respective opacities) upon mouse hover.AnIConnectionInterpolatoris 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.AnInfiniteCanvasprovides a means to render a portion of a hypothetically infinite canvas, on which arbitrary contents can be placed.AnIConnectionRouterthat interprets theConnectioncontrol points as way points and adjusts the way points (if necessary) so that theConnectionis routed orthogonally.ThePolyBezierInterpolatorinterpolates a cubic Bezier spline through the suppliedway points.TheStraightRouteris anIConnectionRouterthat leaves theConnection's control points untouched and only provides reference points for theConnection's anchors.