Package com.vaadin.ui
Interface IconGenerator<T>
-
- Type Parameters:
T- item type for which the icon is generated
- All Superinterfaces:
Function<T,Resource>,Serializable,SerializableFunction<T,Resource>
- 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 IconGenerator<T> extends SerializableFunction<T,Resource>
A callback interface for generating icons for an item.- Since:
- 8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resourceapply(T item)Gets an icon resource for theitem.
-