com.vaadin.shared.ui.combobox.

Interface ComboBoxServerRpc

  • All Superinterfaces:

    Serializable, ServerRpc


    public interface ComboBoxServerRpc
    extends ServerRpc

    Client to server RPC interface for ComboBox.

    Since:

    8.0

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      void createNewItem(String itemValue)

      Create a new item in the combo box.

      void setFilter(String filter)

      Sets the filter to use.

    • Method Detail

      • createNewItem

        void createNewItem(String itemValue)

        Create a new item in the combo box. This method can only be used when the ComboBox is configured to allow the creation of new items by the user.

        Parameters:

        itemValue - user entered string value for the new item

      • setFilter

        void setFilter(String filter)

        Sets the filter to use.

        Parameters:

        filter - filter string interpreted according to the current filtering mode