Top Fields Constructors Methods
org.jabref.gui.preferences

pack-priv Class PreferencesSearchHandler

extends Object
Class Inheritance
Imports
java.util.ArrayList, .List, .Locale, javafx.beans.property.ListProperty, .SimpleListProperty, javafx.collections.FXCollections, javafx.css.PseudoClass, javafx.scene.Node, .Parent, javafx.scene.control.Labeled, com.google.common.collect.ArrayListMultimap

Field Summary

Modifier and TypeField and Description
private final ListProperty<PreferencesTab>
private final ArrayList<Labeled>
private static PseudoClass
private final List<PreferencesTab>
private final ArrayListMultimap<PreferencesTab, Labeled>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private void
private void
protected ListProperty<PreferencesTab>
public void
private ArrayListMultimap<PreferencesTab, Labeled>
private void
private boolean
private static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

filteredPreferenceTabsback to summary
private final ListProperty<PreferencesTab> filteredPreferenceTabs
highlightedLabelsback to summary
private final ArrayList<Labeled> highlightedLabels
labelHighlightback to summary
private static PseudoClass labelHighlight
preferenceTabsback to summary
private final List<PreferencesTab> preferenceTabs
preferenceTabsLabelNamesback to summary
private final ArrayListMultimap<PreferencesTab, Labeled> preferenceTabsLabelNames

Constructor Detail

PreferencesSearchHandlerback to summary
pack-priv PreferencesSearchHandler(List<PreferencesTab> preferenceTabs)

Method Detail

clearHighlightsback to summary
private void clearHighlights()
clearSearchback to summary
private void clearSearch()
filteredPreferenceTabsPropertyback to summary
protected ListProperty<PreferencesTab> filteredPreferenceTabsProperty()
filterTabsback to summary
public void filterTabs(String text)
getPrefsTabLabelMapback to summary
private ArrayListMultimap<PreferencesTab, Labeled> getPrefsTabLabelMap()
highlightLabelback to summary
private void highlightLabel(Labeled labeled)
labelContainsTextback to summary
private boolean labelContainsText(Labeled labeled, String text)
scanLabeledControlsback to summary
private static void scanLabeledControls(Parent parent, ArrayListMultimap<PreferencesTab, Labeled> prefsTabLabelMap, PreferencesTab preferencesTab)