com.vaadin.ui
Interface AbstractSelect.ItemDescriptionGenerator
- All Superinterfaces:
- java.io.Serializable
- Enclosing class:
- AbstractSelect
public static interface AbstractSelect.ItemDescriptionGenerator
- extends java.io.Serializable
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 |
java.lang.String |
generateDescription(Component source,
java.lang.Object itemId,
java.lang.Object propertyId)
Called by Table when a cell (and row) is painted or a item is painted
in Tree |
generateDescription
java.lang.String generateDescription(Component source,
java.lang.Object itemId,
java.lang.Object propertyId)
- Called by Table when a cell (and row) is painted or a item is painted
in Tree
- 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.
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.