We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Interface Tree.ItemStyleGenerator
All Superinterfaces:
Enclosing class:
- extends Serializable
public static interface Tree.ItemStyleGenerator
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].
Method Summary | |
---|---|
String |
getStyle(Object itemId)
Called by Tree when an item is painted. |
Method Detail |
---|
getStyle
String getStyle(Object itemId)
- 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]
Called by Tree when an item is painted.