|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.view.DefaultNodeView pedviz.view.NodeView pedviz.algorithms.sugiyama.SugiyamaNodeView
public class SugiyamaNodeView
This class extends the NodeView class by a barycentric property.
Constructor Summary | |
---|---|
SugiyamaNodeView(Node node,
DefaultNodeView defaultNodeView)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object arg0)
Compares two nodeviews. |
float |
getBarycentric()
Returns the barycentric. |
void |
setBarycentric(float barycentric)
Sets the barycentric. |
void |
sortSubNodes()
Sorts subnodes by their barycentric. |
Methods inherited from class pedviz.view.NodeView |
---|
addNodeViewListener, calcWidth, clone, getBounds, getColors, getData, getHint, getInEdges, getNode, getNodes, getOutEdges, getPosX, getPosY, getPosZ, isHidden, isHighlighted, isMomLeft, isMouseOver, isSelected, removeNodeViewListener, reset, setBounds, setColors, setData, setHidden, setMomLeft, setPosX, setPosY, setPosZ |
Methods inherited from class pedviz.view.DefaultNodeView |
---|
addHintAttribute, addSymbol, getBorderColor, getBorderWidth, getColor, getGap, getHeight, getHighlightedColor, getMouseOverColor, getSelectedColor, getSize, getSymbols, isExpand, setBorderColor, setBorderWidth, setColor, setExpand, setGap, setHighlightedColor, setHintAttribute, setHintText, setMouseOverColor, setSelectedColor, setSize, setSymbols |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SugiyamaNodeView(Node node, DefaultNodeView defaultNodeView)
Method Detail |
---|
public float getBarycentric()
public void setBarycentric(float barycentric)
barycentric
- barycentricpublic void sortSubNodes()
sortSubNodes
in class NodeView
public int compareTo(java.lang.Object arg0)
NodeView
compareTo
in interface java.lang.Comparable
compareTo
in class NodeView
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |