edu.umd.cs.jazz.util
Interface ZFindFilter
- All Known Implementing Classes:
- ZBoundsFindFilter
- public interface ZFindFilter
ZFindFilter provides a general interface that is used to determine if a specified node should be accepted.
- Author:
- Ben Bederson
- See Also:
ZDrawingSurface.findNodes(edu.umd.cs.jazz.util.ZFindFilter)
Method Summary |
boolean |
accept(ZNode node)
This method determines if the specified node should be accepted by the filter. |
boolean |
childrenFindable(ZNode node)
This method determines if the children of the specified node should be searched. |
accept
public boolean accept(ZNode node)
-
This method determines if the specified node should be accepted by the filter. Users of this filter determine the semantics of how the filter is applied, but generally if a node is not accepted, then its children are still examined.
-
- Parameters:
node
- The node that is to be examined by this filter
- Returns:
- True if the node is accepted by the filter
- See Also:
ZDrawingSurface.findNodes(edu.umd.cs.jazz.util.ZFindFilter)
childrenFindable
public boolean childrenFindable(ZNode node)
-
This method determines if the children of the specified node should be searched.
-
- Parameters:
node
- The node that is to be examined by this filter
- Returns:
- True if this node's children should be searched, or false otherwise.
Copyright � 2003 by University of Maryland, College Park, MD 20742, USA All rights reserved.