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 | Method and Description |
---|---|
protected java.util.Map<javafx.scene.Node,java.util.Set<AnchorKey>> |
AbstractFXAnchor.getKeys()
|
javafx.beans.property.ReadOnlyMapProperty<AnchorKey,Point> |
AbstractFXAnchor.positionProperty() |
javafx.beans.property.ReadOnlyMapProperty<AnchorKey,Point> |
IFXAnchor.positionProperty()
Provides a read-only (map) property with positions (in local coordinates
of the anchored
Node s) for all attached AnchorKey s. |
javafx.beans.property.ReadOnlyMapWrapper<AnchorKey,Point> |
FXChopBoxAnchor.ReferencePointProvider.referencePointProperty()
Provides a read-only (map) property with positions (in local
coordinates of the anchored
Node ) for all attached
AnchorKey s. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractFXAnchor.attach(AnchorKey key,
IAdaptable info) |
void |
IFXAnchor.attach(AnchorKey key,
IAdaptable info)
|
void |
FXChopBoxAnchor.attach(AnchorKey key,
IAdaptable info)
Attaches the given
AnchorKey to this FXChopBoxAnchor . |
protected abstract Point |
AbstractFXAnchor.computePosition(AnchorKey key)
Computes and returns the position for the given
AnchorKey . |
protected Point |
FXChopBoxAnchor.computePosition(AnchorKey key)
Recomputes the position for the given attached
AnchorKey by
retrieving a reference position via the FXChopBoxAnchor.ReferencePointProvider
that was obtained when attaching the AnchorKey (
FXChopBoxAnchor.attach(AnchorKey, IAdaptable) ). |
protected Point |
FXStaticAnchor.computePosition(AnchorKey key) |
void |
AbstractFXAnchor.detach(AnchorKey key,
IAdaptable info) |
void |
IFXAnchor.detach(AnchorKey key,
IAdaptable info)
|
void |
FXChopBoxAnchor.detach(AnchorKey key,
IAdaptable info)
Detaches the given
AnchorKey from this FXChopBoxAnchor . |
Point |
AbstractFXAnchor.getPosition(AnchorKey key) |
Point |
IFXAnchor.getPosition(AnchorKey key)
Provides a position for the given
AnchorKey . |
boolean |
AbstractFXAnchor.isAttached(AnchorKey key) |
boolean |
IFXAnchor.isAttached(AnchorKey key)
|
protected void |
AbstractFXAnchor.updatePosition(AnchorKey key)
Updates the position for the given
AnchorKey , i.e. |
Modifier and Type | Method and Description |
---|---|
protected AnchorKey |
FXConnection.generateWayAnchorKey()
Generates a new, unique way point anchor key.
|
protected AnchorKey |
FXConnection.getAnchorKey(int anchorIndex)
Returns the
AnchorKey for the given anchor index, i.e. the
reverse of FXConnection.getAnchorIndex(AnchorKey) . |
protected AnchorKey |
FXConnection.getEndAnchorKey()
Returns the end
AnchorKey for this FXConnection . |
protected AnchorKey |
FXConnection.getStartAnchorKey()
Returns the start
AnchorKey for this FXConnection . |
protected AnchorKey |
FXConnection.getWayAnchorKey(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 . |
protected javafx.collections.MapChangeListener<? super AnchorKey,? super Point> |
FXConnection.createPCL(AnchorKey anchorKey)
Creates a position change listener (PCL) which
refreshes this FXConnection upon anchor position changes
corresponding to the given AnchorKey . |
javafx.beans.property.ReadOnlyMapWrapper<AnchorKey,Point> |
FXConnection.FXChopBoxHelper.referencePointProperty() |
Modifier and Type | Method and Description |
---|---|
protected javafx.collections.MapChangeListener<? super AnchorKey,? super Point> |
FXConnection.createPCL(AnchorKey anchorKey)
Creates a position change listener (PCL) which
refreshes this FXConnection upon anchor position changes
corresponding to the given AnchorKey . |
protected int |
FXConnection.getAnchorIndex(AnchorKey anchorKey)
Returns the anchor index for the given
AnchorKey which is:
0 for the start anchor key
FXConnection.getAnchors() .size() - 1 for the
end anchor key
FXConnection.getWayIndex(AnchorKey) + 1 for way point anchor
keys
|
protected int |
FXConnection.getWayIndex(AnchorKey key)
Returns the way anchor index for the given
AnchorKey , i.e. |
protected void |
FXConnection.putAnchor(IFXAnchor anchor,
AnchorKey anchorKey,
int wayIndex)
|
protected void |
FXConnection.removeAnchor(AnchorKey anchorKey,
IFXAnchor oldAnchor)
|
Copyright (c) 2014 itemis AG and others. All rights reserved.