|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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);
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 |
---|
boolean accept(PNode aNode)
aNode
- node under test
boolean acceptChildrenOf(PNode aNode)
aNode
- parent being tested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |