| prefuse.action.layout.Layout prefuse.action.layout.CollapsedSubtreeLayout
CollapsedSubtreeLayout | public class CollapsedSubtreeLayout extends Layout (Code) | | Layout Action that sets the positions for newly collapsed or newly
expanded nodes of a tree. This action updates positions such that
nodes flow out from their parents or collapse back into their parents
upon animated transitions.
author: jeffrey heer |
Constructor Summary | |
public | CollapsedSubtreeLayout(String group) Create a new CollapsedSubtreeLayout. | public | CollapsedSubtreeLayout(String group, int orientation) Create a new CollapsedSubtreeLayout.
Parameters: group - the data group to layout (only newly collapsed or newlyexpanded items will be considered, as determined by their currentvisibility settings). Parameters: orientation - the layout orientation, determining which pointnodes will collapse/expand from. |
Method Summary | |
public int | getOrientation() Get the layout orientation, determining which point nodes will collapse
or exapnd from. | public void | run(double frac) | public void | setOrientation(int orientation) Set the layout orientation, determining which point nodes will collapse
or exapnd from. |
CollapsedSubtreeLayout | public CollapsedSubtreeLayout(String group)(Code) | | Create a new CollapsedSubtreeLayout. By default, nodes will collapse
to the center point of their parents.
Parameters: group - the data group to layout (only newly collapsed or newlyexpanded items will be considered, as determined by their currentvisibility settings). |
|
|