public void init ( PreferencesFxModel model , StringProperty searchText , ObjectProperty < TreeItemPredicate < Category > > predicateProperty ) { this . model = model ; initializeSearch ( ) ; initializeSearchText ( searchText ) ; bindFilterPredicate ( predicateProperty ) ; }
Initializes the SearchHandler by initially creating all necessary lists for filtering and setting up the bindings .