Uses of Interface
org.eclipse.gef.fx.anchors.IAnchor
Packages that use IAnchor
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 IAnchor in org.eclipse.gef.fx.anchors
Classes in org.eclipse.gef.fx.anchors that implement IAnchorModifier and TypeClassDescriptionclassAbstractAnchoris the abstract base implementation forIAnchors.classTheDynamicAnchorcomputes anchor positions through aIComputationStrategy.classAnStaticAnchorprovides a position for eachAnchorKey, based on a reference position relative to the anchorageNode, to which theStaticAnchoris bound, or based on a (global) static reference position in case theStaticAnchoris unbound. -
Uses of IAnchor in org.eclipse.gef.fx.nodes
Classes in org.eclipse.gef.fx.nodes that implement IAnchorModifier and TypeClassDescriptionprotected static classTheAbstractRouter.VolatileStaticAnchoris aStaticAnchorthat may be inserted by anAbstractRouterduringroute(Connection), and, hence, will be removed when routing is performed again.Methods in org.eclipse.gef.fx.nodes that return IAnchorModifier and TypeMethodDescriptionConnection.getAnchor(int index) Returns the anchor at the given index.Connection.getControlAnchor(int index) Connection.getEndAnchor()Connection.getStartAnchor()Methods in org.eclipse.gef.fx.nodes that return types with arguments of type IAnchorModifier and TypeMethodDescriptionjavafx.beans.property.ReadOnlyListProperty<IAnchor>Connection.anchorsUnmodifiableProperty()Returns an unmodifiable read-only list property, which contains theIAnchors that determine the start point, control points, and end point of thisConnection.javafx.collections.ObservableList<IAnchor>Connection.getAnchorsUnmodifiable()Returns aListcontaining theIAnchors which are assigned to thisConnectionin the order: start anchor, control point anchorsByKeys, end anchor.Connection.getControlAnchors()Methods in org.eclipse.gef.fx.nodes with parameters of type IAnchorModifier and TypeMethodDescriptionprotected voidvoidConnection.addControlAnchor(int index, IAnchor anchor) Adds the givenIAnchoras a control point anchor for the given index into theConnection.anchorsUnmodifiableProperty()of thisConnection.booleanConnection.isConnected(IAnchor anchor) Returntruein case the anchor is bound to an anchorage unequal to this connection.protected voidConnection.removeAnchor(AnchorKey anchorKey, IAnchor anchor) protected voidvoidConnection.setControlAnchor(int index, IAnchor anchor) Sets the control anchor for the given control anchor index to the givenIAnchor.voidConnection.setEndAnchor(IAnchor anchor) Sets the endIAnchorof thisConnectionto the given value.voidConnection.setStartAnchor(IAnchor anchor) Sets the startIAnchorof thisConnectionto the given value.booleanAbstractRouter.wasInserted(IAnchor anchor) booleanIConnectionRouter.wasInserted(IAnchor anchor) Returnstrueif the givenIAnchorwas added by thisIConnectionRouterduringIConnectionRouter.route(Connection).Method parameters in org.eclipse.gef.fx.nodes with type arguments of type IAnchorModifier and TypeMethodDescriptionvoidConnection.setAnchors(List<IAnchor> anchors) Replaces all anchors of thisConnectionwith the givenIAnchors, i.e. the first givenIAnchorreplaces the currently assigned start anchor, the last givenIAnchorreplaces the currently assigned end anchor, and the intermediateIAnchors replace the currently assigned control anchorsByKeys.voidConnection.setControlAnchors(List<IAnchor> anchors)