List of usage examples for com.google.gwt.dom.client TableCellElement getClassName
@Override
public String getClassName()
From source file:com.google.speedtracer.client.SourceViewer.java
License:Apache License
/** * Returns the cell that contains the line contents for a row. *///w ww.j av a 2 s. co m private TableCellElement getRowContentCell(TableRowElement row) { NodeList<TableCellElement> cells = row.getElementsByTagName("td").cast(); for (int i = 0, n = cells.getLength(); i < n; i++) { TableCellElement cell = cells.getItem(i); if (cell.getClassName().indexOf(LINE_CONTENT) >= 0) { return cell; } } return null; }