Interface FGrid.CellDescriptionGenerator

All Superinterfaces:
Serializable
Enclosing class:
FGrid

public static interface FGrid.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.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Called by Grid to generate a description (tooltip) for a cell.
  • Method Details

    • getDescription

      String getDescription(FGrid.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 for
      Returns:
      the cell description or null for no description