Package com.vaadin.ui

Interface ComboBox.CaptionFilter

    • Method Detail

      • test

        boolean test​(String itemCaption,
                     String filterText)
        Check item caption against entered text.
        Specified by:
        test in interface BiPredicate<String,​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