ca.quine.jcommons.freemind.maputil
Interface INodeApplicator

All Known Implementing Classes:
ClearAllMarks, FoldLargeNodes, SearchNodeApplicator, SetMarkToLevel, SortNodeApplicator, UnfoldAllNodes

public interface INodeApplicator

See MapUtils.apply(Map, int, INodeApplicator) and MapUtils.apply(Node, Node, int, INodeApplicator).


Field Summary
static int SEARCH_CONTINUE
          Continue applying nodes (return value of apply(Node, Node))
static int SEARCH_STOP
          Don't apply any more nodes (return value of apply(Node, Node))
static int SEARCH_TRIM
          Don't apply any nodes underneath the current node (return value of apply(Node, Node))
 
Method Summary
 int apply(Node parentNode, Node node)
           
 

Field Detail

SEARCH_CONTINUE

public static final int SEARCH_CONTINUE
Continue applying nodes (return value of apply(Node, Node))

See Also:
Constant Field Values

SEARCH_TRIM

public static final int SEARCH_TRIM
Don't apply any nodes underneath the current node (return value of apply(Node, Node))

See Also:
Constant Field Values

SEARCH_STOP

public static final int SEARCH_STOP
Don't apply any more nodes (return value of apply(Node, Node))

See Also:
Constant Field Values
Method Detail

apply

public int apply(Node parentNode,
                 Node node)