public class TreeUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TreeUtils.FilteredTreeModel
Subclass of
AbstractTreeModel that can be used as a filter. |
static interface |
TreeUtils.FilterStringResolver
Used by
TreeUtils.FilteredTreeModel to determine the string representation of a treenode that should be used for
filtering. |
static class |
TreeUtils.TreeState<T>
This class can be used to store the state of a tree regarding expanded/collapsed nodes.
|
| Constructor and Description |
|---|
TreeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
matchCamelCase(java.lang.String value,
java.lang.String searchString)
Camelcase string matching.
|
static boolean |
matchFilterString(java.lang.Object data,
java.lang.String filterString,
boolean camelCase)
Checks, if argument data can be represented by argument filterString, i.e.
|
static boolean |
matchFilterStringSimple(java.lang.String value,
java.lang.String filterString)
Checks, if argument value starts (case-insensitive) with argument filterString.
|
public static boolean matchCamelCase(java.lang.String value,
java.lang.String searchString)
value - the string that should be checked.searchString - the "camelcased" search string.public static boolean matchFilterStringSimple(java.lang.String value,
java.lang.String filterString)
public static boolean matchFilterString(java.lang.Object data,
java.lang.String filterString,
boolean camelCase)
String, then invokes matchFilterString(Object, String, boolean) and optionally invokes
matchCamelCase(String, String), depending on argument camelCase.Copyright © 2018 SAP SE. All Rights Reserved.