This interface basically provides casts of the base methods.
302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
{ if (row < 0) return; TableModel dataModel = tableComp.getTableModel(); if (row >= dataModel.getRowCount()) return; ItsNatHTMLTableUI tableUI = tableComp.getItsNatHTMLTableUI(); int first = getFirstContiguousEqual(row,0,dataModel); if (first == -1) first = row; int last = getLastContiguousEqual(first,0,dataModel); if (last == -1) last = first; int rowSpan = last - first + 1; HTMLTableCellElement cell = tableUI.getHTMLTableCellElementAt(first,0); if (cell.getParentNode() == null) { HTMLTableCellElement cellNext = tableUI.getHTMLTableCellElementAt(first, 1 ); cellNext.getParentNode().insertBefore(cell,cellNext); } if (rowSpan > 1) cell.setAttribute("rowspan",Integer.toString(rowSpan)); else if (cell.hasAttribute("rowspan")) cell.removeAttribute("rowspan"); if (first != last) { for(int i = first + 1; i <= last; i++) { cell = tableUI.getHTMLTableCellElementAt(i,0); if (cell.getParentNode() != null) cell.getParentNode().removeChild(cell); } } }