Package com.vaadin.ui
Interface ItemCaptionGenerator<T>
-
- Type Parameters:
T
- item type
- All Superinterfaces:
Function<T,String>
,Serializable
,SerializableFunction<T,String>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ItemCaptionGenerator<T> extends SerializableFunction<T,String>
ItemCaptionGenerator
can be used to customize the string shown to the user for an item.- Since:
- 8.0
- Author:
- Vaadin Ltd
- See Also:
ComboBox.setItemCaptionGenerator(ItemCaptionGenerator)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
apply(T item)
Gets a caption for theitem
.
-