|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.graph.layout.LayoutUtilities
public final class LayoutUtilities
Miscellaneous utility routines used in layout.
Red |
Constructor Summary | |
---|---|
LayoutUtilities()
|
Method Summary | |
---|---|
private static boolean |
checkCommon(java.lang.Object composite,
GraphModel model)
A common layout consistency check shared by checkConsistency() and checkContainment(). |
static boolean |
checkConsistency(java.lang.Object composite,
GraphModel model)
Check consistency of the graph in terms of topology and layout. |
static boolean |
checkContainment(java.lang.Object composite,
GraphModel model)
Check consistency and containment in terms of topology and layout. |
static void |
place(LayoutTarget target,
java.lang.Object node,
double x,
double y)
Place the given node at the given position and reroute its edges. |
static void |
placeNoReroute(LayoutTarget target,
java.lang.Object node,
double x,
double y)
Place the given node at the given position but do not reroute its edges. |
static void |
routeVisibleEdges(java.lang.Object composite,
LayoutTarget target)
Iterate over all the visible edges in the given graph and reroute them. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutUtilities()
Method Detail |
---|
public static final void place(LayoutTarget target, java.lang.Object node, double x, double y)
public static final void placeNoReroute(LayoutTarget target, java.lang.Object node, double x, double y)
public static final boolean checkConsistency(java.lang.Object composite, GraphModel model)
public static final boolean checkContainment(java.lang.Object composite, GraphModel model)
private static final boolean checkCommon(java.lang.Object composite, GraphModel model)
public static final void routeVisibleEdges(java.lang.Object composite, LayoutTarget target)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |