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.
        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.
        item - The item whose text should be used to searching for occurrences of pattern.
        The matcher prepared to invoking method find() or etc.