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 AbstractSelect.ItemDescriptionGenerator
All Superinterfaces:
Enclosing class:
- extends Serializable
public static interface AbstractSelect.ItemDescriptionGenerator
Implement this interface and pass it to Tree.setItemDescriptionGenerator or Table.setItemDescriptionGenerator to generate mouse over descriptions ("tooltips") for the rows and cells in Table or for the items in Tree.
Method Summary | |
---|---|
String |
generateDescription(Component source,
Object itemId,
Object propertyId)
Called by Table when a cell (and row) is painted or a item is painted in Tree |
Method Detail |
---|
generateDescription
String generateDescription(Component source,
Object itemId,
Object propertyId)
- Parameters:
source
- The source of the generator, the Tree or Table the generator is attached toitemId
- The itemId of the painted cellpropertyId
- The propertyId of the cell, null when getting row description- Returns:
- The description or "tooltip" of the item.
Called by Table when a cell (and row) is painted or a item is painted in Tree