|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for a graphical tree viewer, for example TreeViewerJung.
| Method Summary | |
void |
createGraph(IXholon xhRoot,
java.lang.String title,
boolean showNodeLabels)
Create a graph using a tree layout. |
void |
remove()
Remove the graph from the screen. |
void |
setDistances(int distX,
int distY)
Set the default x and y distances between vertices. |
void |
setGraphSize(int sizeX,
int sizeY)
Set the size of the graph. |
void |
setLabelFontSize(int fontSize)
Set the font size for displaying labels on vertices. |
| Method Detail |
public void setDistances(int distX,
int distY)
distX - Distance in the x direction (system default is 50).distY - Distance in the y direction (system default is 50).
public void setGraphSize(int sizeX,
int sizeY)
sizeX - Size in the x direction.sizeY - Size in the y direction.public void setLabelFontSize(int fontSize)
fontSize - The font size (default is 9).
public void createGraph(IXholon xhRoot,
java.lang.String title,
boolean showNodeLabels)
xhRoot - The root of the IXholon tree.title - The title to appear in the viewer window,showNodeLabels - Whether vertices (nodes) should initially appear labelled.public void remove()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||