Package org.eclipse.gef.fx.nodes
Class AbstractRouter.VolatileStaticAnchor
java.lang.Object
org.eclipse.gef.fx.anchors.AbstractAnchor
org.eclipse.gef.fx.anchors.StaticAnchor
org.eclipse.gef.fx.nodes.AbstractRouter.VolatileStaticAnchor
- All Implemented Interfaces:
IAnchor
- Enclosing class:
- AbstractRouter
The
AbstractRouter.VolatileStaticAnchor
is a StaticAnchor
that may be
inserted by an AbstractRouter
during
route(Connection)
, and, hence,
will be removed when routing is performed again. A subtype is used so
that the inserted anchors can easily be identified.-
Property Summary
Properties inherited from class org.eclipse.gef.fx.anchors.StaticAnchor
referencePosition
Properties inherited from class org.eclipse.gef.fx.anchors.AbstractAnchor
anchorage, positionsUnmodifiable
-
Constructor Summary
ConstructorDescriptionVolatileStaticAnchor
(Connection connection, Point referencePositionInAnchorageLocal) Constructs a newAbstractRouter.VolatileStaticAnchor
. -
Method Summary
Methods inherited from class org.eclipse.gef.fx.anchors.StaticAnchor
computePosition, getReferencePosition, referencePositionProperty, setReferencePosition
Methods inherited from class org.eclipse.gef.fx.anchors.AbstractAnchor
anchorageProperty, attach, detach, getAnchorage, getKeys, getKeysByNode, getPosition, getPositionsUnmodifiable, isAttached, positionsUnmodifiableProperty, registerVCL, registerVCLs, setAnchorage, unregisterVCL, unregisterVCLs, updatePosition, updatePositions
-
Constructor Details
-
VolatileStaticAnchor
Constructs a newAbstractRouter.VolatileStaticAnchor
. Uses the givenConnection
as the anchorage, and the givenPoint
as thereference position
.- Parameters:
connection
- TheConnection
that serves as the anchorage for thisAbstractRouter.VolatileStaticAnchor
.referencePositionInAnchorageLocal
- ThePoint
that specifies thereference position
for thisAbstractRouter.VolatileStaticAnchor
, interpreted in the local coordinate system of theConnection
.
-
-
Method Details
-
toString
- Overrides:
toString
in classStaticAnchor
-