Layout: Difference between revisions
From FreeMind
Jump to navigationJump to search
(+) |
Dan Polansky (talk | contribs) (restore) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 4: | Line 4: | ||
* Class: [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/view/mindmapview/MindMapLayout.java?view=log MindMapLayout] | * Class: [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/view/mindmapview/MindMapLayout.java?view=log MindMapLayout] | ||
* After refactoring: | |||
** Interface: [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/view/mindmapview/NodeViewLayout.java?view=log NodeViewLayout] | |||
** Class: [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/view/mindmapview/LeftNodeViewLayout.java?view=log LeftNodeViewLayout.java] | |||
** Class: [http://freemind.cvs.sourceforge.net/viewvc/freemind/freemind/freemind/view/mindmapview/RightNodeViewLayout.java?view=log RightNodeViewLayout.java] | |||
[[Category:Development]] | [[Category:Development]] |
Latest revision as of 12:48, 22 November 2010
FreeMind's nodes are layed out using one algorithm, placing the children nodes at the right (or at the left) of the parent node, and centering vertically the parent node against the block consisting of its child nodes. This layout is modified if the nodes gain their individual shifts.
Implementation
- Class: MindMapLayout
- After refactoring:
- Interface: NodeViewLayout
- Class: LeftNodeViewLayout.java
- Class: RightNodeViewLayout.java