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 . |
identity
Copyright © 2018 Vaadin Ltd. All rights reserved.