Eclipse Draw2d
3.1

org.eclipse.draw2d.graph
Class VirtualNode

java.lang.Object
  extended byorg.eclipse.draw2d.graph.Node
      extended byorg.eclipse.draw2d.graph.VirtualNode

Deprecated. As of 3.1, this class is for internal use only.

public class VirtualNode
extends Node

Since:
2.1.2

Field Summary
 Node next
          Deprecated. The next node.
 Node prev
          Deprecated. The previous node.
 
Fields inherited from class org.eclipse.draw2d.graph.Node
data, flag, height, incoming, incomingOffset, index, nestingIndex, outgoing, outgoingOffset, rank, rowOrder, sortValue, width, workingData, workingInts, x, y
 
Constructor Summary
VirtualNode(Edge e, int i)
          Deprecated. This class is for internal use only.
VirtualNode(Object o, Subgraph parent)
          Deprecated. Constructor.
 
Method Summary
 double medianIncoming()
          Deprecated. Returns the index of prev.
 double medianOutgoing()
          Deprecated. Returns the index of next.
 int omega()
          Deprecated. For internal use only.
 String toString()
          Deprecated.  
 
Methods inherited from class org.eclipse.draw2d.graph.Node
getOffsetIncoming, getOffsetOutgoing, getPadding, getParent, isNested, setPadding, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

prev

public Node prev
Deprecated. 
The previous node.


next

public Node next
Deprecated. 
The next node.

Constructor Detail

VirtualNode

public VirtualNode(Object o,
                   Subgraph parent)
Deprecated. 
Constructor.

Parameters:
o - object
parent - subgraph

VirtualNode

public VirtualNode(Edge e,
                   int i)
Deprecated. This class is for internal use only.

Constructs a virtual node.

Parameters:
e - the edge
i - the row
Method Detail

medianOutgoing

public double medianOutgoing()
Deprecated. 
Returns the index of next.

Returns:
outgoing

medianIncoming

public double medianIncoming()
Deprecated. 
Returns the index of prev.

Returns:
median

omega

public int omega()
Deprecated. 
For internal use only. Returns the original edge weight multiplied by the omega value for the this node and the node on the previous rank.

Returns:
the weighted weight, or omega

toString

public String toString()
Deprecated. 
Overrides:
toString in class Node
See Also:
Object.toString()

Eclipse Draw2d
3.1

Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.