|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Table.CellStyleGenerator
Allow to define specific style on cells (and rows) contents. Implements this interface and pass it to Table.setCellStyleGenerator. Row styles are generated when porpertyId is null. The CSS class name that will be added to the cell content is v-table-cell-content-[style name], and the row style will be v-table-row-[style name].
| Method Summary | |
|---|---|
String |
getStyle(Object itemId,
Object propertyId)
Called by Table when a cell (and row) is painted. |
| Method Detail |
|---|
String getStyle(Object itemId,
Object propertyId)
itemId - The itemId of the painted cellpropertyId - The propertyId of the cell, null when getting row style
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||