Package docking.widgets.tree
Class TreeTextFilter
- java.lang.Object
-
- docking.widgets.tree.TreeTextFilter
-
- All Implemented Interfaces:
GTreeFilter
public class TreeTextFilter extends java.lang.Object implements GTreeFilter
-
-
Constructor Summary
Constructors Constructor Description TreeTextFilter(TextFilter textFilter, FilterTransformer<GTreeNode> transformer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptsNode(GTreeNode node)
boolean
showFilterMatches()
True signals that the matching nodes should be made visible, expanding the tree as necessary.
-
-
-
Constructor Detail
-
TreeTextFilter
public TreeTextFilter(TextFilter textFilter, FilterTransformer<GTreeNode> transformer)
-
-
Method Detail
-
acceptsNode
public boolean acceptsNode(GTreeNode node)
- Specified by:
acceptsNode
in interfaceGTreeFilter
-
showFilterMatches
public boolean showFilterMatches()
Description copied from interface:GTreeFilter
True signals that the matching nodes should be made visible, expanding the tree as necessary.- Specified by:
showFilterMatches
in interfaceGTreeFilter
- Returns:
- True if the matching nodes should be made visible.
-
-