TableDataRowColorizers
is deprecated. Use the TableDataRowBackgroundProviders
instead.@Deprecated
public final class TableDataRowColorizers
extends java.lang.Object
TableDataRowColorizer
.Modifier and Type | Method and Description |
---|---|
static TableDataRowColorizer<java.lang.Object> |
alternatingRows(int colorEvenRows,
int colorOddRows)
Deprecated.
Gives an implementation of
TableDataRowColorizer that will return alternately the two
given colors. |
static TableDataRowColorizer<java.lang.Object> |
similarRowColor(int color)
Deprecated.
Gives an implementation of
TableDataRowColorizer that will return the given color
for every row. |
public static TableDataRowColorizer<java.lang.Object> similarRowColor(int color)
TableDataRowColorizer
that will return the given color
for every row.color
- The color that shall be applied to every table data row.TableDataRowColorizer
.public static TableDataRowColorizer<java.lang.Object> alternatingRows(int colorEvenRows, int colorOddRows)
TableDataRowColorizer
that will return alternately the two
given colors.colorEvenRows
- The color that will be returned for rows with an even index.colorOddRows
- The color that will be returned for rows with an odd index.TableDataRowColorizer
.