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
protected static class AbstractRouter.VolatileStaticAnchor extends StaticAnchor
TheAbstractRouter.VolatileStaticAnchor
is aStaticAnchor
that may be inserted by anAbstractRouter
duringroute(Connection)
, and, hence, will be removed when routing is performed again. A subtype is used so that the inserted anchors can easily be identified.
-
-
Constructor Summary
Constructors Constructor Description VolatileStaticAnchor(Connection connection, Point referencePositionInAnchorageLocal)
Constructs a newAbstractRouter.VolatileStaticAnchor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
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 Detail
-
VolatileStaticAnchor
public VolatileStaticAnchor(Connection connection, Point referencePositionInAnchorageLocal)
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 Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classStaticAnchor
-
-