Package com.vaadin.v7.ui
Interface ComboBox.ItemStyleGenerator
-
- All Superinterfaces:
Serializable
- Enclosing class:
- ComboBox
@Deprecated public static interface ComboBox.ItemStyleGenerator extends Serializable
Deprecated.ItemStyleGenerator can be used to add custom styles to combo box items shown in the popup. The CSS class name that will be added to the item style names is v-filterselect-item-[style name].- Since:
- 7.5.6
- See Also:
ComboBox.setItemStyleGenerator(ItemStyleGenerator)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetStyle(ComboBox source, Object itemId)Deprecated.Called by ComboBox when an item is painted.
-
-
-
Method Detail
-
getStyle
String getStyle(ComboBox source, Object itemId)
Deprecated.Called by ComboBox when an item is painted.- Parameters:
source- the source combo boxitemId- The itemId of the item to be painted. Can benullif null selection is allowed.- Returns:
- The style name to add to this item. (the CSS class name will be v-filterselect-item-[style name]
-
-