T - item type@FunctionalInterface public interface ItemCaptionGenerator<T> extends SerializableFunction<T,String>
ItemCaptionGenerator can be used to customize the string shown to the
user for an item.ComboBox.setItemCaptionGenerator(ItemCaptionGenerator)| Modifier and Type | Method and Description |
|---|---|
String |
apply(T item)
Gets a caption for the
item. |
identityCopyright © 2022 Vaadin Ltd. All rights reserved.