java.lang.Object
javax.ide.menu.spi.PositionMap.Vertex
- Enclosing class:
- PositionMap
- private class PositionMap.Vertex
- extends java.lang.Object
A vertex in the graph. Each vertex represents a Positionable and its back
and forward references to other vertices. An undefined reference is a
vertex for which the positionable has not yet been encountered (such cases
occur when an item defines itself to be before or after another item which
has not yet been defined)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_toEdges
private java.util.List _toEdges
_fromEdges
private java.util.List _fromEdges
_name
private final java.lang.String _name
_positionable
private Positionable _positionable
PositionMap.Vertex
public PositionMap.Vertex(java.lang.String name)
PositionMap.Vertex
public PositionMap.Vertex(Positionable positionable)
setPositionable
public void setPositionable(Positionable p)
getPositionable
public Positionable getPositionable()
isUndefinedReference
public boolean isUndefinedReference()
getName
public java.lang.String getName()
getFromEdges
public java.util.Iterator getFromEdges()
getToEdges
public java.util.Iterator getToEdges()
attachBefore
public void attachBefore(PositionMap.Vertex otherVertex)
attachAfter
public void attachAfter(PositionMap.Vertex otherVertex)
attachAfter
public void attachAfter(java.util.Iterator vertices)
attachBefore
public void attachBefore(java.util.Iterator vertices)