Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.menu.spi
Class PositionMap.Vertex  view PositionMap.Vertex download PositionMap.Vertex.java

java.lang.Object
  extended byjavax.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)


Field Summary
private  java.util.List _fromEdges
           
private  java.lang.String _name
           
private  Positionable _positionable
           
private  java.util.List _toEdges
           
 
Constructor Summary
PositionMap.Vertex(Positionable positionable)
           
PositionMap.Vertex(java.lang.String name)
           
 
Method Summary
 void attachAfter(java.util.Iterator vertices)
           
 void attachAfter(PositionMap.Vertex otherVertex)
           
 void attachBefore(java.util.Iterator vertices)
           
 void attachBefore(PositionMap.Vertex otherVertex)
           
 java.util.Iterator getFromEdges()
           
 java.lang.String getName()
           
 Positionable getPositionable()
           
 java.util.Iterator getToEdges()
           
 boolean isUndefinedReference()
           
 void setPositionable(Positionable p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_toEdges

private java.util.List _toEdges

_fromEdges

private java.util.List _fromEdges

_name

private final java.lang.String _name

_positionable

private Positionable _positionable
Constructor Detail

PositionMap.Vertex

public PositionMap.Vertex(java.lang.String name)

PositionMap.Vertex

public PositionMap.Vertex(Positionable positionable)
Method Detail

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)