|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.controls.elementtree.Filter
public class Filter
A Filter extracts the children from a parent Element
and/or filters the produce of other filters.
When an element is expanded, the element tree collects all the filters registered for the element's class and its supertypes. The distinct result of all the getChildren() is combined and then filtered by calls to isValid() for each collected filter.
Filters are registered through the ElementTreeRootNode
's ElementRegistry
. Example:
elementTreeRootNode.getElementRegistry().register(MyNode.class, new MyNodeFilter);
Constructor Summary | |
---|---|
Filter() |
Method Summary | |
---|---|
java.util.List<Element> |
getChildren(Element parent) Produces the children elements. |
boolean |
isValid(Element child) Filters the child elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Filter()
Method Detail |
---|
public java.util.List<Element> getChildren(Element parent)
parent
- the parent elementpublic boolean isValid(Element child)
child
- the child to check
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |