Package org.vaadin.firitin.components
Interface Tree.ItemIconGenerator<T>
-
- Type Parameters:
T- item type
- All Superinterfaces:
Function<T,com.vaadin.flow.component.Component>,Serializable,com.vaadin.flow.function.SerializableFunction<T,com.vaadin.flow.component.Component>
- 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 static interface Tree.ItemIconGenerator<T> extends com.vaadin.flow.function.SerializableFunction<T,com.vaadin.flow.component.Component>
Tree.ItemIconGeneratorcan be used to customize the icon shown before the label of an item.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.vaadin.flow.component.Componentapply(T item)Gets a icon for theitem.
-