|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.ExclusionSearch
A TreeSearch that excludes figures contained in a Collection.
| Constructor Summary | |
ExclusionSearch(Collection collection)
Constructs an Exclusion search using the given collection. |
|
| Method Summary | |
boolean |
accept(IFigure figure)
Returns true if the given figure is accepted by the search. |
boolean |
prune(IFigure f)
Returns true if the figure is a member of the Collection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExclusionSearch(Collection collection)
collection - the exclusion set| Method Detail |
public boolean accept(IFigure figure)
TreeSearchtrue if the given figure is accepted by the search.
accept in interface TreeSearchfigure - the current figure in the traversal
true if the figure is acceptedTreeSearch.accept(IFigure)public boolean prune(IFigure f)
true if the figure is a member of the Collection.
prune in interface TreeSearchf - the current figure in the traversal
true if the subgraph should be prunedTreeSearch.prune(IFigure)
|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||