|
Draw2d 3.9.0.201305060205 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeSearch
A helper used in depth-first searches of a figure subgraph.
Method Summary | |
---|---|
boolean |
accept(IFigure figure)
Returns true if the given figure is accepted by the search. |
boolean |
prune(IFigure figure)
Returns true if the figure and all of its contained figures
should be pruned from the search. |
Method Detail |
---|
boolean accept(IFigure figure)
true
if the given figure is accepted by the search.
figure
- the current figure in the traversal
true
if the figure is acceptedboolean prune(IFigure figure)
true
if the figure and all of its contained figures
should be pruned from the search.
figure
- the current figure in the traversal
true
if the subgraph should be pruned
|
Draw2d 3.9.0.201305060205 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |