protected static class AbstractRouter.VolatileStaticAnchor extends StaticAnchor
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.referencePosition
anchorage, positionsUnmodifiable
Constructor and Description |
---|
VolatileStaticAnchor(Connection connection,
Point referencePositionInAnchorageLocal)
Constructs a new
AbstractRouter.VolatileStaticAnchor . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
computePosition, getReferencePosition, referencePositionProperty, setReferencePosition
anchorageProperty, attach, detach, getAnchorage, getKeys, getKeysByNode, getPosition, getPositionsUnmodifiable, isAttached, positionsUnmodifiableProperty, registerVCL, registerVCLs, setAnchorage, unregisterVCL, unregisterVCLs, updatePosition, updatePositions
public VolatileStaticAnchor(Connection connection, Point referencePositionInAnchorageLocal)
AbstractRouter.VolatileStaticAnchor
. Uses the given
Connection
as the anchorage, and the given Point
as
the reference position
.connection
- The Connection
that serves as the anchorage for
this AbstractRouter.VolatileStaticAnchor
.referencePositionInAnchorageLocal
- The Point
that specifies the
reference position
for
this AbstractRouter.VolatileStaticAnchor
, interpreted in the
local coordinate system of the Connection
.public java.lang.String toString()
toString
in class StaticAnchor
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.