|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.graphdocument.GraphPanelDnDGeometryAdjustmentUtil
The GraphPanelDnDGeometryAdjustmentUtil class provides some
functionalities needed by different GraphPanel implementation
during drag and drop of VisualGraphObject instances.
| Method Summary | |
static void |
adjustGeometry(VisualGraphView vgv,
VisualEdge ve)
Adjusts the geometry of the given VisualEdge object to the
coordinate system of the given VisualGraphView object. |
static void |
adjustGeometry(VisualGraphView vgv,
VisualNode vn)
Adjusts the geometry of the given VisualNode object to the
coordinate system of the given VisualGraphView object.
|
static void |
applyLayout(VisualGraphView vgv,
VisualSubgraph vsg)
Applies the layout, the LayoutController associated to the
given VisualGraphView object is configured to, to the given
VisualSubgraph object.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final void adjustGeometry(VisualGraphView vgv,
VisualNode vn)
VisualNode object to the
coordinate system of the given VisualGraphView object.
VisualNode object is a
VisualSubgraph instance its children and grandchildren are
recursively adjusted as well.
vgv - the VisualGraphView object to adjust the geometry
of the given VisualNode object tovn - the VisualNode object to adjust the geometry forVisualGraphView,
VisualNode,
VisualSubgraph
public static final void adjustGeometry(VisualGraphView vgv,
VisualEdge ve)
VisualEdge object to the
coordinate system of the given VisualGraphView object.
vgv - the VisualGraphView object to adjust the geometry
of the given VisualEdge object tove - the VisualEdge object to adjust the geometry forVisualGraphView,
VisualEdge
public static final void applyLayout(VisualGraphView vgv,
VisualSubgraph vsg)
LayoutController associated to the
given VisualGraphView object is configured to, to the given
VisualSubgraph object.
LayoutController
is configured to perform dynamic layout it is applied to the given
VisualSubgraph.
vgv - the VisualGraphView object to use the associated
LayoutController fromvsg - the VisualSubgraph to apply the layout toVisualGraphView,
LayoutController,
VisualSubgraph
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||