Class ComboBox.OptionsCaptionFilteringContext

java.lang.Object
io.jmix.ui.component.ComboBox.OptionsCaptionFilteringContext
Enclosing interface:
ComboBox<V>

public static class ComboBox.OptionsCaptionFilteringContext extends Object
Caption filtering context. Can be used to test whether an item with the given caption matches to the given search string.
  • Field Details

    • itemCaption

      protected String itemCaption
    • searchString

      protected String searchString
  • Constructor Details

    • OptionsCaptionFilteringContext

      public OptionsCaptionFilteringContext(String itemCaption, String searchString)
      Parameters:
      itemCaption - the caption of the item to filter, not null
      searchString - the user entered search string, not null
  • Method Details

    • getItemCaption

      public String getItemCaption()
      Returns:
      the caption of the item to filter, not null
    • getSearchString

      public String getSearchString()
      Returns:
      the user entered search string, not null