freemind.view.mindmapview
Class MindMapLayout
java.lang.Object
freemind.view.mindmapview.MindMapLayout
- LayoutManager
public class MindMapLayout
extends java.lang.Object
implements LayoutManager
This class will Layout the Nodes and Edges of an MapView.
MindMapLayout
public MindMapLayout(MapView map)
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
layout
public void layout()
Make abolute positioning for all nodes providing that relative and heights
are up to date.
layoutContainer
public void layoutContainer(Container parent)
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
removeLayoutComponent
public void removeLayoutComponent(Component comp)
resizeMap
public void resizeMap(int outmostX)
updateTreeHeightFromChildren
protected void updateTreeHeightFromChildren(NodeView node)