com.vaadin.ui
Interface Grid.CellStyleGenerator

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

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

Callback interface for generating custom style names for cells

See Also:
Grid.setCellStyleGenerator(CellStyleGenerator)

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

Method Detail

getStyle

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

Parameters:
cellReference - 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.