Package com.vaadin.ui
Interface Tree.ItemStyleGenerator
-
- All Superinterfaces:
Serializable
- Enclosing class:
- Tree
public static interface Tree.ItemStyleGenerator extends Serializable
ItemStyleGenerator can be used to add custom styles to tree items. The CSS class name that will be added to the item content is v-tree-node-[style name].
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getStyle(Tree source, Object itemId)
Called by Tree when an item is painted.
-