public class LayeredLayouter extends KahinaDAGLayouter
Modifier and Type | Field and Description |
---|---|
static boolean |
VERBOSE |
xCoord, yCoord
Constructor and Description |
---|
LayeredLayouter() |
Modifier and Type | Method and Description |
---|---|
void |
computeLayout() |
int |
getDisplayHeight() |
int |
getDisplayWidth() |
java.awt.FontMetrics |
getFontMetrics(java.awt.Font f,
java.awt.Stroke s,
int fontSize) |
int |
getNodeAtCoordinates(int x,
int y) |
void |
newDAG(KahinaDAGView view) |
void |
refreshCoordinates() |
java.lang.String |
showLevels() |
public void newDAG(KahinaDAGView view)
newDAG
in class KahinaDAGLayouter
public void computeLayout()
computeLayout
in class KahinaDAGLayouter
public int getDisplayWidth()
getDisplayWidth
in class KahinaDAGLayouter
public int getDisplayHeight()
getDisplayHeight
in class KahinaDAGLayouter
public void refreshCoordinates()
refreshCoordinates
in class KahinaDAGLayouter
public java.lang.String showLevels()
public int getNodeAtCoordinates(int x, int y)
getNodeAtCoordinates
in class KahinaDAGLayouter
public java.awt.FontMetrics getFontMetrics(java.awt.Font f, java.awt.Stroke s, int fontSize)