edu.umd.cs.piccolo.util
Interface PNodeFilter

All Known Implementing Classes:
PSelectionEventHandler.BoundsFilter

public interface PNodeFilter

PNodeFilter is a interface that filters (accepts or rejects) nodes. Its main use is to retrieve all the children of a node the meet some criteria by using the method PNode.getAllNodes(collection, filter);

Version:
1.0
Author:
Jesse Grosjean

Method Summary
 boolean accept(PNode aNode)
          Return true if the filter should accept the given node.
 boolean acceptChildrenOf(PNode aNode)
          Return true if the filter should test the children of the given node for acceptance.
 

Method Detail

accept

boolean accept(PNode aNode)
Return true if the filter should accept the given node.


acceptChildrenOf

boolean acceptChildrenOf(PNode aNode)
Return true if the filter should test the children of the given node for acceptance.



Copyright 2005 by University of Maryland, College Park, MD 20742, USA All rights reserved.

Web Accessibility