edu.umd.cs.jazz.scenegraph
Interface ZFindFilter

All Known Implementing Classes:
ZFindFilterBounds

public abstract interface ZFindFilter

A general filter interface that is used to determine if a specified node should be accepted.

See Also:
ZNode.findNodes(edu.umd.cs.jazz.scenegraph.ZFindFilter, java.util.Vector)

Method Summary
 boolean accept(ZNode node)
          This method determines if the specified node should be accepted by the filter.
 boolean findChildren(ZNode node)
          This method determines if the children of the specified node should be searched.
 

Method Detail

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:
ZNode.findNodes(edu.umd.cs.jazz.scenegraph.ZFindFilter, java.util.Vector)

findChildren

public boolean findChildren(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.