BundleActivator
for the FX bundle.FXCanvas
that offers the following additional
capabilities:
Forwarding of SWT GestureEvent
s to JavaFX (the original FXCanvas
simply ignores all those events)
Support for notifying SWT FocusListener
s (the original FXCanvas
will forward all focus events to the embedded JavaFX stage), so SWT
FocusListener
will not be notified
Support for setting cursors via JavaFX (i.e. the cursor of the embedded
JavaFX stage, its transferred into an SWT cursor on this FXCanvasEx
)
FXCanvasEx
for the given parent and with the given
style.FXChopBoxAnchor
computes anchor positions based on a reference
position per anchored and one reference position for the anchorage.FXChopBoxAnchor
for the given anchorage visual.FXChopBoxAnchor
for the given anchorage visual
using the given FXChopBoxAnchor.ComputationStrategy
.FXChopBoxAnchor.ComputationStrategy
is responsible for computing anchor
positions based on an anchorage Node
, an anchored Node
,
and an anchored reference position (
FXChopBoxAnchor.ComputationStrategy.computePositionInScene(Node, Node, Point)
).FXChopBoxAnchor.ComputationStrategy
computes an anchor position as follows:
Compute the anchorage geometry based on its visual (
FXChopBoxAnchor.ComputationStrategy.Impl.getAnchorageReferenceGeometryInLocal(Node)
).FXChopBoxAnchor.ReferencePointProvider
needs to be provided as default adapter
(see AdapterKey.get(Class)
) on the IAdaptable
info that
gets passed into FXChopBoxAnchor.attach(AnchorKey, IAdaptable)
and FXChopBoxAnchor.detach(AnchorKey, IAdaptable)
.FXConnection.FXChopBoxHelper
for the given
FXConnection
.FXConnection
provides a visualization for a binary connection
whose route can be influenced by a number of way points.FXConnection
whose start and end point are set
to null
.FXConnection.FXChopBoxHelper
can be registered for an FXConnection
and serves as a FXChopBoxAnchor.ReferencePointProvider
for all AnchorKey
s
of that FXConnection
which are registered at
FXChopBoxAnchor
s.FXConnection.FXChopBoxHelper.ReferencePointMap
is used to store the reference points
for the individual AnchorKey
s.FXControlAdapter
which uses the given
IControlFactory
for the creation of the SWT Control
.FXControlAdapter
which wraps the given SWT
Control
.Path
that can be constructed using an underlying IGeometry
.FXGeometryNode
without an IGeometry
.FXGeometryNode
which displays the given
IGeometry
.FXGridLayer
can be used as a background layer which displays a
uniform grid.FXGridLayer
.Group
that combines two ImageView
s, realizing an overlay
effect (by adjusting the respective opacities) upon mouse hover.FXImageViewHoverOverlay
.FXPolyBezierConnectionRouter
interpolates a cubic Bezier spline
through the supplied Point
s.FXStaticAnchor
provides a position for each AnchorKey
,
based on a reference position relative to the anchorage Node
, to
which the FXStaticAnchor
is bound, or based on a (global) static
reference position in case the FXStaticAnchor
is unbound.FXStaticAnchor
that is bound to the provided
anchorage.FXStaticAnchor
that is not bound to an anchorage
Node
and will always provide the passed in position (in scene
coordinates) for all attached AnchorKey
s (i.e. anchored
Node
s).FXUtils
class contains utility methods for working with JavaFX:
transforming IGeometry
s from/to different JavaFX coordinate
systems (FXUtils.localToParent(Node, IGeometry)
,
FXUtils.localToScene(Node, IGeometry)
, FXUtils.localToScene(Node, Point)
,
FXUtils.parentToLocal(Node, IGeometry)
,
FXUtils.sceneToLocal(Node, IGeometry)
)
determining the actual local-to-scene or scene-to-local transform for a
JavaFX Node
(FXUtils.getLocalToSceneTx(Node)
,
FXUtils.getSceneToLocalTx(Node)
)
determining the current pointer location (FXUtils.getPointerLocation()
)
forcing a mouse cursor update (FXUtils.forceCursorUpdate(Scene)
)
perform picking of Node
s at a specific position within the JavaFX
scene graph (FXUtils.getNodesAt(Node, double, double)
)
Copyright (c) 2014 itemis AG and others. All rights reserved.