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 TypeClassDescriptionclass
AbstractAnchor
is the abstract base implementation forIAnchor
s.class
TheDynamicAnchor
computes anchor positions through aIComputationStrategy
.class
AnStaticAnchor
provides a position for eachAnchorKey
, based on a reference position relative to the anchorageNode
, to which theStaticAnchor
is bound, or based on a (global) static reference position in case theStaticAnchor
is unbound. -
Uses of IAnchor in org.eclipse.gef.fx.nodes
Classes in org.eclipse.gef.fx.nodes that implement IAnchorModifier and TypeClassDescriptionprotected static class
TheAbstractRouter.VolatileStaticAnchor
is aStaticAnchor
that may be inserted by anAbstractRouter
duringroute(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 TypeMethodDescriptionConnection.anchorsUnmodifiableProperty()
Returns an unmodifiable read-only list property, which contains theIAnchor
s that determine the start point, control points, and end point of thisConnection
.Connection.getAnchorsUnmodifiable()
Returns aList
containing theIAnchor
s which are assigned to thisConnection
in 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 void
void
Connection.addControlAnchor
(int index, IAnchor anchor) Adds the givenIAnchor
as a control point anchor for the given index into theConnection.anchorsUnmodifiableProperty()
of thisConnection
.boolean
Connection.isConnected
(IAnchor anchor) Returntrue
in case the anchor is bound to an anchorage unequal to this connection.protected void
Connection.removeAnchor
(AnchorKey anchorKey, IAnchor anchor) protected void
void
Connection.setControlAnchor
(int index, IAnchor anchor) Sets the control anchor for the given control anchor index to the givenIAnchor
.void
Connection.setEndAnchor
(IAnchor anchor) Sets the endIAnchor
of thisConnection
to the given value.void
Connection.setStartAnchor
(IAnchor anchor) Sets the startIAnchor
of thisConnection
to the given value.boolean
AbstractRouter.wasInserted
(IAnchor anchor) boolean
IConnectionRouter.wasInserted
(IAnchor anchor) Returnstrue
if the givenIAnchor
was added by thisIConnectionRouter
duringIConnectionRouter.route(Connection)
.Method parameters in org.eclipse.gef.fx.nodes with type arguments of type IAnchorModifier and TypeMethodDescriptionvoid
Connection.setAnchors
(List<IAnchor> anchors) Replaces all anchors of thisConnection
with the givenIAnchor
s, i.e. the first givenIAnchor
replaces the currently assigned start anchor, the last givenIAnchor
replaces the currently assigned end anchor, and the intermediateIAnchor
s replace the currently assigned control anchorsByKeys.void
Connection.setControlAnchors
(List<IAnchor> anchors)