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 Grid.CellDescriptionGenerator
-
All Superinterfaces:
Enclosing class:
public static interface Grid.CellDescriptionGenerator extends Serializable
A callback interface for generating optional descriptions (tooltips) for Grid cells. If a cell has both a
row description
and a cell description, the latter has precedence.Since:
7.6
See Also:
-
-
Method Summary
All Methods Modifier and Type Method and Description String
getDescription(Grid.CellReference cell)
Called by Grid to generate a description (tooltip) for a cell.
-
-
-
Method Detail
-
getDescription
String getDescription(Grid.CellReference cell)
Called by Grid to generate a description (tooltip) for a cell. The description may contain HTML which is rendered directly; if this is not desired the returned string must be escaped by the implementing method.
Parameters:
cell
- the cell to generate a description forReturns:
the cell description or
null
for no description
-
-