Draw2d
3.9.0.201308190730

org.eclipse.draw2d.graph
Class VirtualNode

java.lang.Object
  extended by org.eclipse.draw2d.graph.Node
      extended by org.eclipse.draw2d.graph.VirtualNode

Deprecated. virtual nodes of an edge should be cast to Node.

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, height, incoming, incomingOffset, outgoing, outgoingOffset, rowOrder, sortValue, width, x, y
 
Constructor Summary
VirtualNode(Edge e, int i)
          Deprecated. This class is for internal use only.
VirtualNode(java.lang.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.
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class org.eclipse.draw2d.graph.Node
getLeft, getOffsetIncoming, getOffsetOutgoing, getPadding, getParent, getRight, getRowConstraint, setPadding, setParent, setRowConstraint, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

next

public Node next
Deprecated. 
The next node.


prev

public Node prev
Deprecated. 
The previous node.

Constructor Detail

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

VirtualNode

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

Parameters:
o - object
parent - subgraph
Method Detail

medianIncoming

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

Returns:
median

medianOutgoing

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

Returns:
outgoing

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 java.lang.String toString()
Deprecated. 
Overrides:
toString in class Node
See Also:
Object.toString()

Draw2d
3.9.0.201308190730

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