com.vaadin.ui
Interface Grid.RowStyleGenerator

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

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

Callback interface for generating custom style names for data rows

See Also:
Grid.setRowStyleGenerator(RowStyleGenerator)

Method Summary
 java.lang.String getStyle(Grid.RowReference rowReference)
          Called by Grid to generate a style name for a row
 

Method Detail

getStyle

java.lang.String getStyle(Grid.RowReference rowReference)
Called by Grid to generate a style name for a row

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


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