private void setRowStyleName(TableRowElement tr, String rowStyle, String cellStyle, boolean add) {
        setStyleName(tr, rowStyle, add);
        NodeList<TableCellElement> cells = tr.getCells();
        for (int i = 0; i < cells.getLength(); i++) {
            setStyleName(cells.getItem(i), cellStyle, add);
        }
    }
Apply a style to a row and all cells in the row.

@param tr        the row element
@param rowStyle  the style to apply to the row
@param cellStyle the style to apply to the cells
@param add       true to add the style, false to remove
stroom-core-client-widget/src/main/java/com/google/gwt/user/cellview/client/AbstractCellTable.java