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 cell content is
v-tree-node-[style name].
getStyle
String getStyle(Object itemId)
- Called by Tree when an item is painted.
- Parameters:
itemId
- The itemId of the item to be painted
- Returns:
- The style name to add to this item. (the CSS class name will
be v-tree-node-[style name]
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.