public static interface ComboBox.ItemStyleGenerator extends Serializable
ComboBox.setItemStyleGenerator(ItemStyleGenerator)
Modifier and Type | Method and Description |
---|---|
String |
getStyle(ComboBox source,
Object itemId)
Called by ComboBox when an item is painted.
|
String getStyle(ComboBox source, Object itemId)
source
- the source combo boxitemId
- The itemId of the item to be painted. Can be
null
if null selection is allowed.Copyright © 2023 Vaadin Ltd. All rights reserved.