Tabs declare what is searchable themselves: the visible texts (with the node they caption)
come from PreferencesTab#getSearchableElements(), extra invisible synonyms from
PreferencesTab#getSearchKeywords(). There is no scene-graph scanning.
| Modifier and Type | Field and Description |
|---|---|
| private final ListProperty | |
| private final List | |
| private static final PseudoClass | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected ListProperty | |
| public void | |
| private boolean | tabMatchesQuery(PreferencesTab tab, String query)
Returns: true if the query occurs in the tab's keywords or visible texts; matching visible elements are highlighted as a side effect. |
| filteredPreferenceTabs | back to summary |
|---|---|
| private final ListProperty<PreferencesTab> filteredPreferenceTabs | |
| preferenceTabs | back to summary |
|---|---|
| private final List<PreferencesTab> preferenceTabs | |
| SEARCH_HIGHLIGHT | back to summary |
|---|---|
| private static final PseudoClass SEARCH_HIGHLIGHT | |
| searchableElements | back to summary |
|---|---|
| private final Map<PreferencesTab, List<SearchableElement>> searchableElements | |
| PreferencesSearchHandler | back to summary |
|---|---|
| pack-priv PreferencesSearchHandler(List<PreferencesTab> preferenceTabs) | |
| clearHighlights | back to summary |
|---|---|
| private void clearHighlights() | |
| filteredPreferenceTabsProperty | back to summary |
|---|---|
| protected ListProperty | |
| filterTabs | back to summary |
|---|---|
| public void filterTabs(String query) | |
| tabMatchesQuery | back to summary |
|---|---|
private boolean tabMatchesQuery(PreferencesTab tab, String query)
| |