Uses of Class
org.eclipse.gef.fx.anchors.AnchorKey
Packages that use AnchorKey
Package
Description
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.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
-
Uses of AnchorKey in org.eclipse.gef.fx.anchors
Methods in org.eclipse.gef.fx.anchors that return types with arguments of type AnchorKeyModifier and TypeMethodDescriptionDynamicAnchor.anchoredComputationParametersProperty()Returns aReadOnlySetMultimapPropertythat provides thecomputation parametersof kindIComputationStrategy.Parameter.Kind.ANCHOREDperAnchorKey.AbstractAnchor.getKeys()Returns all keys maintained by this anchor.protected SetMultimap<javafx.scene.Node,AnchorKey> AbstractAnchor.getKeysByNode()AbstractAnchor.getPositionsUnmodifiable()Gets the value of the property positionsUnmodifiable.IAnchor.getPositionsUnmodifiable()Provides an observable read-only (map) with positions (in local coordinates of the anchoredNodes) for all attachedAnchorKeys.AbstractAnchor.positionsUnmodifiableProperty()IAnchor.positionsUnmodifiableProperty()Provides a read-only (map) property with positions (in local coordinates of the anchoredNodes) for all attachedAnchorKeys.Methods in org.eclipse.gef.fx.anchors with parameters of type AnchorKeyModifier and TypeMethodDescriptionvoidvoidvoidprotected abstract PointAbstractAnchor.computePosition(AnchorKey key) Recomputes the position for the given attachedAnchorKeyby delegating to the respectiveIComputationStrategy.protected PointDynamicAnchor.computePosition(AnchorKey key) Recomputes the position for the given attachedAnchorKeyby delegating to the respectiveIComputationStrategy.protected PointStaticAnchor.computePosition(AnchorKey key) voidvoidvoid<T extends IComputationStrategy.Parameter<?>>
TDynamicAnchor.getComputationParameter(AnchorKey key, Class<T> parameterType) Retrieves a computation parameter of the respective type for the givenAnchorKey.protected Set<IComputationStrategy.Parameter<?>>DynamicAnchor.getParameters(AnchorKey key) Retrieves the relevant parameters for the computation of the givenAnchorKey.AbstractAnchor.getPosition(AnchorKey key) IAnchor.getPosition(AnchorKey key) Provides a position for the givenAnchorKey.booleanAbstractAnchor.isAttached(AnchorKey key) booleanIAnchor.isAttached(AnchorKey key) protected voidAbstractAnchor.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 AnchorKeyModifier and TypeMethodDescriptionprotected AnchorKeyConnection.getAnchorKey(int anchorIndex) Returns theAnchorKeyfor the given anchor index, i.e. the reverse ofConnection.getAnchorIndex(AnchorKey).protected AnchorKeyConnection.getControlAnchorKey(int index) Returns theAnchorKeyfor the given control anchor index.protected AnchorKeyConnection.getEndAnchorKey()Returns the endAnchorKeyfor thisConnection.protected AnchorKeyConnection.getStartAnchorKey()Returns the startAnchorKeyfor thisConnection.Methods in org.eclipse.gef.fx.nodes that return types with arguments of type AnchorKeyModifier and TypeMethodDescriptionCreates a position change listener (PCL) whichrefreshesthisConnectionupon anchor position changes corresponding to the givenAnchorKey.Methods in org.eclipse.gef.fx.nodes with parameters of type AnchorKeyModifier and TypeMethodDescriptionprotected voidCreates a position change listener (PCL) whichrefreshesthisConnectionupon anchor position changes corresponding to the givenAnchorKey.protected intConnection.getAnchorIndex(AnchorKey anchorKey) Returns the anchor index for the givenAnchorKey.protected intConnection.getControlAnchorIndex(AnchorKey key) Returns the control anchor index for the givenAnchorKey, i.e.protected voidConnection.removeAnchor(AnchorKey anchorKey, IAnchor anchor) protected voidprotected voidAbstractRouter.updateComputationParameters(List<Point> points, int index, DynamicAnchor anchor, AnchorKey key) Update's the reference point of the anchor with the given index.protected voidOrthogonalRouter.updateComputationParameters(List<Point> points, int index, DynamicAnchor anchor, AnchorKey key)