Package | Description |
---|---|
org.eclipse.gef4.fx.anchors |
This package provides a visual anchor abstraction (
IFXAnchor ), a related abstract base
implementation (AbstractFXAnchor ), as
well as concrete anchor implementations (
FXStaticAnchor ,
FXChopBoxAnchor ) to manage dynamic
positioning of visuals in dependence of others. |
org.eclipse.gef4.fx.nodes |
This package provides:
an adaptation of an
IGeometry to
Node : FXGeometryNode
a connection abstraction that is based on
IFXAnchor :
FXConnection
a grid layer implementation:
FXGridLayer
a visual to display an image which is overlayed by another image on mouse
hover: FXImageViewHoverOverlay
a custom ScrollPane implementation:
ScrollPaneEx
utilities (picking nodes, querying the pointer location,
transformations): FXUtils
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFXAnchor
AbstractFXAnchor is the abstract base implementation for
IFXAnchor s. |
class |
FXChopBoxAnchor
The
FXChopBoxAnchor computes anchor positions based on a reference
position per anchored and one reference position for the anchorage. |
class |
FXStaticAnchor
An
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. |
Modifier and Type | Method and Description |
---|---|
IFXAnchor |
FXConnection.getEndAnchor()
|
IFXAnchor |
FXConnection.getStartAnchor()
|
IFXAnchor |
FXConnection.getWayAnchor(int index)
|
Modifier and Type | Method and Description |
---|---|
protected javafx.beans.property.ReadOnlyMapProperty<AnchorKey,IFXAnchor> |
FXConnection.anchorsProperty()
Returns the
ReadOnlyMapProperty which stores the
AnchorKey s and corresponding IFXAnchor s which determine
the start point, way points, and end point of this FXConnection . |
java.util.List<IFXAnchor> |
FXConnection.getAnchors()
Returns a
List containing the IFXAnchor s which are
assigned to this FXConnection in the order: start anchor, way
point anchors, end anchor. |
java.util.List<IFXAnchor> |
FXConnection.getWayAnchors()
|
Modifier and Type | Method and Description |
---|---|
void |
FXConnection.addWayAnchor(int index,
IFXAnchor anchor)
Adds the given
IFXAnchor as a way point anchor for the given
index into the FXConnection.anchorsProperty() of this FXConnection . |
protected void |
FXConnection.putAnchor(IFXAnchor anchor,
AnchorKey anchorKey,
int wayIndex)
|
protected void |
FXConnection.removeAnchor(AnchorKey anchorKey,
IFXAnchor oldAnchor)
|
void |
FXConnection.setEndAnchor(IFXAnchor anchor)
Sets the end
IFXAnchor of this FXConnection to the given
value. |
void |
FXConnection.setStartAnchor(IFXAnchor anchor)
Sets the start
IFXAnchor of this FXConnection to the
given value. |
void |
FXConnection.setWayAnchor(int index,
IFXAnchor anchor)
Sets the way anchor for the given way anchor index to the given
IFXAnchor . |
Modifier and Type | Method and Description |
---|---|
void |
FXConnection.setAnchors(java.util.List<IFXAnchor> anchors)
|
void |
FXConnection.setWayAnchors(java.util.List<IFXAnchor> anchors)
|
Copyright (c) 2014 itemis AG and others. All rights reserved.