com.vaadin.ui
Interface Grid.CellStyleGenerator

All Superinterfaces:
java.io.Serializable
Enclosing class:
Grid

public static interface Grid.CellStyleGenerator
extends java.io.Serializable

A callback interface for generating custom style names for Grid cells.

See Also:
Grid.setCellStyleGenerator(CellStyleGenerator)

Method Summary
 java.lang.String getStyle(Grid.CellReference cell)
          Called by Grid to generate a style name for a column.
 

Method Detail

getStyle

java.lang.String getStyle(Grid.CellReference cell)
Called by Grid to generate a style name for a column.

Parameters:
cell - the cell to generate a style for
Returns:
the style name to add to this cell, or null to not set any style


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.