Package | Description |
---|---|
org.eclipse.gef.fx.anchors |
This package provides a visual anchor abstraction (
IAnchor ), a related abstract base
implementation (AbstractAnchor ), as
well as concrete anchor implementations (
StaticAnchor ,
DynamicAnchor ) to manage dynamic
positioning of visuals in dependence of others. |
org.eclipse.gef.fx.nodes |
This package provides:
an adaptation of an
IGeometry to
Node : 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
|
Modifier and Type | Method and Description |
---|---|
protected ReadOnlySetMultimapProperty<AnchorKey,IComputationStrategy.Parameter<?>> |
DynamicAnchor.anchoredComputationParametersProperty()
Returns a
ReadOnlySetMultimapProperty that provides the
computation parameters of kind
IComputationStrategy.Parameter.Kind.ANCHORED per AnchorKey . |
protected java.util.Set<AnchorKey> |
AbstractAnchor.getKeys()
Returns all keys maintained by this anchor.
|
protected com.google.common.collect.SetMultimap<javafx.scene.Node,AnchorKey> |
AbstractAnchor.getKeysByNode()
|
javafx.collections.ObservableMap<AnchorKey,Point> |
AbstractAnchor.getPositionsUnmodifiable()
Gets the value of the property positionsUnmodifiable.
|
javafx.collections.ObservableMap<AnchorKey,Point> |
IAnchor.getPositionsUnmodifiable()
Provides an observable read-only (map) with positions (in local
coordinates of the anchored
Node s) for all attached
AnchorKey s. |
javafx.beans.property.ReadOnlyMapProperty<AnchorKey,Point> |
AbstractAnchor.positionsUnmodifiableProperty() |
javafx.beans.property.ReadOnlyMapProperty<AnchorKey,Point> |
IAnchor.positionsUnmodifiableProperty()
Provides a read-only (map) property with positions (in local coordinates
of the anchored
Node s) for all attached AnchorKey s. |
Modifier and Type | Method and Description |
---|---|
void |
DynamicAnchor.attach(AnchorKey key) |
void |
AbstractAnchor.attach(AnchorKey key) |
void |
IAnchor.attach(AnchorKey key)
|
protected Point |
DynamicAnchor.computePosition(AnchorKey key)
Recomputes the position for the given attached
AnchorKey by
delegating to the respective IComputationStrategy . |
protected abstract Point |
AbstractAnchor.computePosition(AnchorKey key)
Recomputes the position for the given attached
AnchorKey by
delegating to the respective IComputationStrategy . |
protected Point |
StaticAnchor.computePosition(AnchorKey key) |
void |
DynamicAnchor.detach(AnchorKey key) |
void |
AbstractAnchor.detach(AnchorKey key) |
void |
IAnchor.detach(AnchorKey key)
|
<T extends IComputationStrategy.Parameter<?>> |
DynamicAnchor.getComputationParameter(AnchorKey key,
java.lang.Class<T> parameterType)
Retrieves a computation parameter of the respective type for the given
AnchorKey . |
protected java.util.Set<IComputationStrategy.Parameter<?>> |
DynamicAnchor.getParameters(AnchorKey key)
Retrieves the relevant parameters for the computation of the given
AnchorKey . |
Point |
AbstractAnchor.getPosition(AnchorKey key) |
Point |
IAnchor.getPosition(AnchorKey key)
Provides a position for the given
AnchorKey . |
boolean |
AbstractAnchor.isAttached(AnchorKey key) |
boolean |
IAnchor.isAttached(AnchorKey key)
|
protected void |
AbstractAnchor.updatePosition(AnchorKey key)
Updates the position for the given
AnchorKey , i.e. |
Modifier and Type | Method and Description |
---|---|
protected AnchorKey |
Connection.getAnchorKey(int anchorIndex)
Returns the
AnchorKey for the given anchor index, i.e. the
reverse of Connection.getAnchorIndex(AnchorKey) . |
protected AnchorKey |
Connection.getControlAnchorKey(int index)
Returns the
AnchorKey for the given control anchor index. |
protected AnchorKey |
Connection.getEndAnchorKey()
Returns the end
AnchorKey for this Connection . |
protected AnchorKey |
Connection.getStartAnchorKey()
Returns the start
AnchorKey for this Connection . |
Modifier and Type | Method and Description |
---|---|
protected javafx.collections.MapChangeListener<? super AnchorKey,? super Point> |
Connection.createPCL(AnchorKey anchorKey)
Creates a position change listener (PCL) which
refreshes this Connection upon anchor position changes
corresponding to the given AnchorKey . |
Modifier and Type | Method and Description |
---|---|
protected void |
Connection.addAnchor(AnchorKey anchorKey,
IAnchor anchor)
|
protected javafx.collections.MapChangeListener<? super AnchorKey,? super Point> |
Connection.createPCL(AnchorKey anchorKey)
Creates a position change listener (PCL) which
refreshes this Connection upon anchor position changes
corresponding to the given AnchorKey . |
protected int |
Connection.getAnchorIndex(AnchorKey anchorKey)
Returns the anchor index for the given
AnchorKey . |
protected int |
Connection.getControlAnchorIndex(AnchorKey key)
Returns the control anchor index for the given
AnchorKey , i.e. |
protected void |
Connection.removeAnchor(AnchorKey anchorKey,
IAnchor anchor)
|
protected void |
Connection.setAnchor(AnchorKey anchorKey,
IAnchor anchor)
|
protected void |
OrthogonalRouter.updateComputationParameters(java.util.List<Point> points,
int index,
DynamicAnchor anchor,
AnchorKey key) |
protected void |
AbstractRouter.updateComputationParameters(java.util.List<Point> points,
int index,
DynamicAnchor anchor,
AnchorKey key)
Update's the reference point of the anchor with the given index.
|
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.