|
org.eclipse.draw2d.graph
Class VirtualNode
java.lang.Object
org.eclipse.draw2d.graph.Node
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. |
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
|
next
public
Node next
-
Deprecated.
- The next node.
prev
public
Node prev
-
Deprecated.
- The previous node.
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
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()
Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.
|
|