Class FilterUpdateEvent

    • Constructor Detail

      • FilterUpdateEvent

        public FilterUpdateEvent​(ISearchResult searchResult,
                                 Match[] matches,
                                 MatchFilter[] filters)
        Constructs a new FilterUpdateEvent.
        Parameters:
        searchResult - the search result concerned
        matches - the matches updated by the filter change
        filters - the currently activated filters
    • Method Detail

      • getUpdatedMatches

        public Match[] getUpdatedMatches()
        Returns the matches updated by the filter update.
        Returns:
        the matches updated by the filter update
      • getActiveFilters

        public MatchFilter[] getActiveFilters()
        Returns the the filters currently set, or null if filters have been disabled.
        Returns:
        the filters currently set