Package com.vaadin.ui

Interface ComboBox.ItemStyleGenerator

    • Method Detail

      • getStyle

        String getStyle​(ComboBox source,
                        Object itemId)
        Called by ComboBox when an item is painted.
        Parameters:
        source - the source combo box
        itemId - The itemId of the item to be painted. Can be null if null selection is allowed.
        Returns:
        The style name to add to this item. (the CSS class name will be v-filterselect-item-[style name]