com.vaadin.ui
Interface Grid.RowStyleGenerator

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

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

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

See Also:
Grid.setRowStyleGenerator(RowStyleGenerator)

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

Method Detail

getStyle

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

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