Uses of Class
org.eclipse.gef.fx.anchors.AnchorKey
-
Packages that use AnchorKey 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 anIGeometry
toNode
:GeometryNode
a connection abstraction that is based onIAnchor
: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
-
-
Uses of AnchorKey in org.eclipse.gef.fx.anchors
Methods in org.eclipse.gef.fx.anchors that return types with arguments of type AnchorKey Modifier and Type Method Description protected ReadOnlySetMultimapProperty<AnchorKey,IComputationStrategy.Parameter<?>>
DynamicAnchor. anchoredComputationParametersProperty()
Returns aReadOnlySetMultimapProperty
that provides thecomputation parameters
of kindIComputationStrategy.Parameter.Kind.ANCHORED
perAnchorKey
.protected java.util.Set<AnchorKey>
AbstractAnchor. getKeys()
Returns all keys maintained by this anchor.protected SetMultimap<javafx.scene.Node,AnchorKey>
AbstractAnchor. getKeysByNode()
javafx.collections.ObservableMap<AnchorKey,Point>
AbstractAnchor. getPositionsUnmodifiable()
javafx.collections.ObservableMap<AnchorKey,Point>
IAnchor. getPositionsUnmodifiable()
Provides an observable read-only (map) with positions (in local coordinates of the anchoredNode
s) for all attachedAnchorKey
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 anchoredNode
s) for all attachedAnchorKey
s.Methods in org.eclipse.gef.fx.anchors with parameters of type AnchorKey Modifier and Type Method Description void
AbstractAnchor. attach(AnchorKey key)
void
DynamicAnchor. attach(AnchorKey key)
void
IAnchor. attach(AnchorKey key)
protected abstract Point
AbstractAnchor. computePosition(AnchorKey key)
Recomputes the position for the given attachedAnchorKey
by delegating to the respectiveIComputationStrategy
.protected Point
DynamicAnchor. computePosition(AnchorKey key)
Recomputes the position for the given attachedAnchorKey
by delegating to the respectiveIComputationStrategy
.protected Point
StaticAnchor. computePosition(AnchorKey key)
void
AbstractAnchor. detach(AnchorKey key)
void
DynamicAnchor. detach(AnchorKey key)
void
IAnchor. detach(AnchorKey key)
<T extends IComputationStrategy.Parameter<?>>
TDynamicAnchor. getComputationParameter(AnchorKey key, java.lang.Class<T> parameterType)
Retrieves a computation parameter of the respective type for the givenAnchorKey
.protected java.util.Set<IComputationStrategy.Parameter<?>>
DynamicAnchor. getParameters(AnchorKey key)
Retrieves the relevant parameters for the computation of the givenAnchorKey
.Point
AbstractAnchor. getPosition(AnchorKey key)
Point
IAnchor. getPosition(AnchorKey key)
Provides a position for the givenAnchorKey
.boolean
AbstractAnchor. isAttached(AnchorKey key)
boolean
IAnchor. isAttached(AnchorKey key)
protected void
AbstractAnchor. updatePosition(AnchorKey key)
Updates the position for the givenAnchorKey
, i.e. -
Uses of AnchorKey in org.eclipse.gef.fx.nodes
Methods in org.eclipse.gef.fx.nodes that return AnchorKey Modifier and Type Method Description protected AnchorKey
Connection. getAnchorKey(int anchorIndex)
Returns theAnchorKey
for the given anchor index, i.e. the reverse ofConnection.getAnchorIndex(AnchorKey)
.protected AnchorKey
Connection. getControlAnchorKey(int index)
Returns theAnchorKey
for the given control anchor index.protected AnchorKey
Connection. getEndAnchorKey()
Returns the endAnchorKey
for thisConnection
.protected AnchorKey
Connection. getStartAnchorKey()
Returns the startAnchorKey
for thisConnection
.Methods in org.eclipse.gef.fx.nodes that return types with arguments of type AnchorKey Modifier and Type Method Description protected javafx.collections.MapChangeListener<? super AnchorKey,? super Point>
Connection. createPCL(AnchorKey anchorKey)
Creates a position change listener (PCL) whichrefreshes
thisConnection
upon anchor position changes corresponding to the givenAnchorKey
.Methods in org.eclipse.gef.fx.nodes with parameters of type AnchorKey Modifier and Type Method 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) whichrefreshes
thisConnection
upon anchor position changes corresponding to the givenAnchorKey
.protected int
Connection. getAnchorIndex(AnchorKey anchorKey)
Returns the anchor index for the givenAnchorKey
.protected int
Connection. getControlAnchorIndex(AnchorKey key)
Returns the control anchor index for the givenAnchorKey
, i.e.protected void
Connection. removeAnchor(AnchorKey anchorKey, IAnchor anchor)
protected void
Connection. setAnchor(AnchorKey anchorKey, IAnchor anchor)
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.protected void
OrthogonalRouter. updateComputationParameters(java.util.List<Point> points, int index, DynamicAnchor anchor, AnchorKey key)
-