com.jgraph.layout
public class JGraphCompoundLayout extends Object implements JGraphLayout
Field Summary | |
---|---|
protected List | layouts
Holds all layouts. |
Constructor Summary | |
---|---|
JGraphCompoundLayout()
Default constructor | |
JGraphCompoundLayout(JGraphLayout[] layouts)
Constructs a compound layout consisting of the specified first- and
secondStep. |
Method Summary | |
---|---|
void | add(JGraphLayout layout)
Adds a layout to layouts.
|
List | getLayouts()
Returns the list of layouts.
|
void | remove(JGraphLayout layout)
Removes a layout from layouts
|
void | run(JGraphFacade graph)
Runs all layouts in the order they were inserted. |
Parameters: layout The layout to add.
Returns: Returns the list of layouts.
Parameters: layout The layout to remove.