public class DefaultRowStyle extends Object implements RowStyleProvider
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
errorNotColored |
protected ResourceBundle |
res |
| Constructor and Description |
|---|
DefaultRowStyle() |
DefaultRowStyle(boolean errorNotColored) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColStyle(Row row,
ArrayList<ColumnDefinition> validationColumns,
com.sencha.gxt.core.client.ValueProvider<? super DataRow,?> valueProvider,
int rowIndex,
int colIndex) |
String |
getRowStyle(Row row,
ArrayList<ColumnDefinition> validationColumns) |
protected ResourceBundle res
protected boolean errorNotColored
public DefaultRowStyle()
public DefaultRowStyle(boolean errorNotColored)
errorRed - true if you want error rows whitepublic String getRowStyle(Row row, ArrayList<ColumnDefinition> validationColumns)
getRowStyle in interface RowStyleProviderrow - the row where to apply the style. Don't store the object, it will be reused in successive calls.public String getColStyle(Row row, ArrayList<ColumnDefinition> validationColumns, com.sencha.gxt.core.client.ValueProvider<? super DataRow,?> valueProvider, int rowIndex, int colIndex)
getColStyle in interface RowStyleProviderCopyright © 2015. All Rights Reserved.