public static interface FXChopBoxAnchor.ComputationStrategy
FXChopBoxAnchor.ComputationStrategy is responsible for computing anchor
positions based on an anchorage Node, an anchored Node,
and an anchored reference position (
computePositionInScene(Node, Node, Point)).| Modifier and Type | Interface and Description |
|---|---|
static class |
FXChopBoxAnchor.ComputationStrategy.Impl
The default implementation of the
FXChopBoxAnchor.ComputationStrategy
computes an anchor position as follows:
Compute the anchorage geometry based on its visual (
FXChopBoxAnchor.ComputationStrategy.Impl.getAnchorageReferenceGeometryInLocal(Node)). |
| Modifier and Type | Method and Description |
|---|---|
Point |
computePositionInScene(javafx.scene.Node anchorage,
javafx.scene.Node anchored,
Point anchoredReferencePointInLocal)
Computes an anchor position based on the given anchorage visual,
anchored visual, and anchored reference point.
|
Point computePositionInScene(javafx.scene.Node anchorage, javafx.scene.Node anchored, Point anchoredReferencePointInLocal)
anchorage - The anchorage visual.anchored - The anchored visual.anchoredReferencePointInLocal - The anchored reference point within the local coordinate
system of the anchored visual.Copyright (c) 2014 itemis AG and others. All rights reserved.