|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--y.view.hierarchy.GroupLayoutConfigurator
This convenience class helps to prepare a hierarchically grouped Graph2D
for an automatic assignment of layout information. Basically, it translates
the hierarchy information maintained by an HierarchyManager to
dataprovider-based hierarchy information that is understood by automatic
layout algorithms (see GroupingKeys).
| Constructor Summary | |
GroupLayoutConfigurator(Graph2D graph)
Creates a new instance of GroupLayoutConfigurator for a given graph |
|
| Method Summary | |
void |
prepareAll()
Convenience method performs all necessary layout preparations on the input graph. |
void |
prepareAutoBoundsFeatures()
Disables the auto bounds feature in all NodeRealizers that implement AutoBoundsFeature. |
void |
prepareGroupDataProviders()
Binds all data providers to the input graph, that define the hierarchically grouped structure of the graph. |
void |
prepareGroupNodeInsets()
Makes the auto bounds insets of group nodes that implement AutoBoundsFeature available for layout algorithms. |
void |
restoreAll()
Cleanup method that undoes the steps performed by GroupLayoutConfigurator.prepareAll(). |
void |
restoreAutoBoundsFeatures()
Cleanup method that undoes the steps performed by GroupLayoutConfigurator.prepareAutoBoundsFeatures(). |
void |
restoreGroupDataProviders()
Cleanup method that undoes the steps performed by GroupLayoutConfigurator.prepareGroupDataProviders(). |
void |
restoreGroupNodeInsets()
Cleanup method that undoes the steps performed by GroupLayoutConfigurator.prepareGroupNodeInsets(). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GroupLayoutConfigurator(Graph2D graph)
| Method Detail |
public void prepareGroupDataProviders()
public void prepareGroupNodeInsets()
AutoBoundsFeature available for layout algorithms.
public void restoreGroupDataProviders()
GroupLayoutConfigurator.prepareGroupDataProviders().
public void prepareAutoBoundsFeatures()
AutoBoundsFeature. This way an automatic layout algorithm will be able
to resize such nodes during the layout process.
public void restoreGroupNodeInsets()
GroupLayoutConfigurator.prepareGroupNodeInsets().
public void restoreAutoBoundsFeatures()
GroupLayoutConfigurator.prepareAutoBoundsFeatures().
public void prepareAll()
public void restoreAll()
GroupLayoutConfigurator.prepareAll().
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||