Package com.vaadin.ui

Interface ComboBox.CaptionFilter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean test​(java.lang.String itemCaption, java.lang.String filterText)
      Check item caption against entered text.
      • Methods inherited from interface java.util.function.BiPredicate

        and, negate, or
    • Method Detail

      • test

        boolean test​(java.lang.String itemCaption,
                     java.lang.String filterText)
        Check item caption against entered text.
        Specified by:
        test in interface java.util.function.BiPredicate<java.lang.String,​java.lang.String>
        Parameters:
        itemCaption - the caption of the item to filter, not null
        filterText - user entered filter, not null
        Returns:
        true if item passes the filter and should be listed, false otherwise