| java.lang.Object com.gwtext.client.core.JsObject com.gwtext.client.widgets.tree.TreeFilter
TreeFilter | public class TreeFilter extends JsObject (Code) | | Supports filtering of TreePanel nodes.
|
TreeFilter | public TreeFilter(TreePanel treePanel)(Code) | | Create a new TreeFilter.
Parameters: treePanel - the tree panel to filter |
TreeFilter | public TreeFilter(TreePanel treePanel, TreeFilterConfig config)(Code) | | Create a new TreeFilter.
Parameters: treePanel - the tree panel to filter Parameters: config - the TreePanelFilter config |
clear | native public void clear()(Code) | | Clears the current filter. Note: with the "remove" TreeFilterConfig option set a filter cannot be cleared.
|
create | native protected JavaScriptObject create(JavaScriptObject treePanel, JavaScriptObject config)(Code) | | |
filter | native public void filter(String value)(Code) | | Filter the data.
Parameters: value - the node's text value |
filter | native public void filter(String value, TreeNode startNode)(Code) | | Filter the data.
Parameters: value - the node's text Parameters: startNode - the node to start filtering from |
filterBy | native public void filterBy(TreeTraversalCallback callback)(Code) | | Filter by a callback function. The passed function will be called with each node in the tree (or from the startNode).
If the callback returns true, the node is kept otherwise it is filtered. If a node is filtered, its children are also
filtered.
Parameters: callback - the filter callback |
filterRe | native public void filterRe(String regexp)(Code) | | Filter the data.
Parameters: regexp - regexp to test the node value against |
filterRe | native public void filterRe(String regexp, TreeNode startNode)(Code) | | Filter the data.
Parameters: regexp - regexp to test the node value against Parameters: startNode - the node to start filtering from |
Fields inherited from com.gwtext.client.core.JsObject | protected JavaScriptObject jsObj(Code)(Java Doc)
|
|
|