|
org.netbeans.api.visual 2.35 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.visual.graph.layout.GraphLayoutSupport
public class GraphLayoutSupport
| Constructor Summary | |
|---|---|
GraphLayoutSupport()
|
|
| Method Summary | ||
|---|---|---|
static
|
setTreeGraphLayoutProperties(GraphLayout<N,E> graph,
int originX,
int originY,
int verticalGap,
int horizontalGap,
boolean vertical)
Sets properties to a tree graph layout. |
|
static
|
setTreeGraphLayoutProperties(GraphLayout<N,E> graph,
int originX,
int originY,
int verticalGap,
int horizontalGap,
boolean vertical,
boolean minimizeGap)
Sets properties to a tree graph layout. |
|
static
|
setTreeGraphLayoutProperties(GraphLayout<N,E> graph,
int originX,
int originY,
int verticalGap,
int horizontalGap,
boolean vertical,
boolean minimizeGap,
TreeGraphLayoutAlignment alignment)
Sets properties to a tree graph layout. |
|
static
|
setTreeGraphLayoutRootNode(GraphLayout<N,E> graph,
N rootNode)
Sets a root node to a tree graph layout. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphLayoutSupport()
| Method Detail |
|---|
public static <N,E> void setTreeGraphLayoutRootNode(GraphLayout<N,E> graph,
N rootNode)
graph - the tree graph layoutrootNode - the root node
public static <N,E> void setTreeGraphLayoutProperties(GraphLayout<N,E> graph,
int originX,
int originY,
int verticalGap,
int horizontalGap,
boolean vertical)
graph - the tree graph layoutoriginX - the x-axis originoriginY - the y-axis originverticalGap - the vertical gap between cellshorizontalGap - the horizontal gap between cellsvertical - if true, then layout organizes the graph vertically; if false, then horizontally
public static <N,E> void setTreeGraphLayoutProperties(GraphLayout<N,E> graph,
int originX,
int originY,
int verticalGap,
int horizontalGap,
boolean vertical,
boolean minimizeGap)
graph - the tree graph layoutoriginX - the x-axis originoriginY - the y-axis originverticalGap - the vertical gap between cellshorizontalGap - the horizontal gap between cellsvertical - if true, then layout organizes the graph vertically; if false, then horizontallyminimizeGap - if true, then minimize the gap between cells; if false do the normal tree layout.
public static <N,E> void setTreeGraphLayoutProperties(GraphLayout<N,E> graph,
int originX,
int originY,
int verticalGap,
int horizontalGap,
boolean vertical,
boolean minimizeGap,
TreeGraphLayoutAlignment alignment)
graph - the tree graph layoutoriginX - the x-axis originoriginY - the y-axis originverticalGap - the vertical gap between cellshorizontalGap - the horizontal gap between cellsvertical - if true, then layout organizes the graph vertically; if false, then horizontallyminimizeGap - if true, then minimize the gap between cells; if false do the normal tree layout.alignment - alignment the alignment of the nodes in their level. Choose wheter TreeGraphLayout.Alignment.TOP, TreeGraphLayout.Alignment.CENTER or TreeGraphLayout.Alignment.BOTTOM
|
org.netbeans.api.visual 2.35 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||