Class DtTableViewFilter

    • Constructor Detail

      • DtTableViewFilter

        public DtTableViewFilter​(String searchPatternText)
        Creates filter that is able to filter types list by English and Russian names using symbols '?' and '*' as placeholders. Case insensitive. The pattern is matched as a substring.
        Parameters:
        searchPatternText - Pattern for matching. It can contain a special symbols ('?' or '*').
    • Method Detail

      • createMatchers

        public Matcher createMatchers​(ItemViewModel item)
        Returns matcher that can be used for applying regular expression with early specified pattern to text of item. The pattern to be applied was set through constructor.
        Parameters:
        item - The item whose text should be used to searching for occurrences of pattern.
        Returns:
        The matcher prepared to invoking method find() or etc.