freemind.view.mindmapview

Class MapView.nodesDepthComparator

protected class MapView.nodesDepthComparator extends Object implements Comparator

This class sortes nodes by ascending depth of their paths to root. This is useful to assure that children are cutted before their fathers!!!.
Constructor Summary
nodesDepthComparator()
Method Summary
intcompare(Object p1, Object p2)

Constructor Detail

nodesDepthComparator

public nodesDepthComparator()

Method Detail

compare

public int compare(Object p1, Object p2)