/** * Removes any widgets, text, and HTML within the cell. This method assumes * that the requested cell already exists. * * @param row the cell's row * @param column the cell's column * @param clearInnerHTML should the cell's inner html be cleared? * @return element that has been cleaned */ private Element cleanCell(int row, int column, boolean clearInnerHTML) { // Clear whatever is in the cell. Element td = getCellFormatter().getRawElement(row, column); internalClearCell(td, clearInnerHTML); return td; }
/** * Gets the cell's element. * * @return the cell's element. */ public com.google.gwt.user.client.Element getElement() { return DOM.asOld(getCellFormatter().getElement(rowIndex, cellIndex)); }
/** * Clears the cell at the given row and column. If it contains a Widget, it * will be removed from the table. If not, its contents will simply be * cleared. * * @param row the widget's row * @param column the widget's column * @return true if a widget was removed * @throws IndexOutOfBoundsException */ public boolean clearCell(int row, int column) { Element td = getCellFormatter().getElement(row, column); return internalClearCell(td, true); }
/** * Removes any widgets, text, and HTML within the cell. This method assumes * that the requested cell already exists. * * @param row the cell's row * @param column the cell's column * @param clearInnerHTML should the cell's inner html be cleared? * @return element that has been cleaned */ private Element cleanCell(int row, int column, boolean clearInnerHTML) { // Clear whatever is in the cell. Element td = getCellFormatter().getRawElement(row, column); internalClearCell(td, clearInnerHTML); return td; }
/** * Removes any widgets, text, and HTML within the cell. This method assumes * that the requested cell already exists. * * @param row the cell's row * @param column the cell's column * @param clearInnerHTML should the cell's inner html be cleared? * @return element that has been cleaned */ private Element cleanCell(int row, int column, boolean clearInnerHTML) { // Clear whatever is in the cell. Element td = getCellFormatter().getRawElement(row, column); internalClearCell(td, clearInnerHTML); return td; }
/** * Gets the cell's element. * * @return the cell's element. */ public com.google.gwt.user.client.Element getElement() { return DOM.asOld(getCellFormatter().getElement(rowIndex, cellIndex)); }
/** * Gets the cell's element. * * @return the cell's element. */ public com.google.gwt.user.client.Element getElement() { return DOM.asOld(getCellFormatter().getElement(rowIndex, cellIndex)); }
/** * Clears the cell at the given row and column. If it contains a Widget, it * will be removed from the table. If not, its contents will simply be * cleared. * * @param row the widget's row * @param column the widget's column * @return true if a widget was removed * @throws IndexOutOfBoundsException */ public boolean clearCell(int row, int column) { Element td = getCellFormatter().getElement(row, column); return internalClearCell(td, true); }
/** * Clears the cell at the given row and column. If it contains a Widget, it * will be removed from the table. If not, its contents will simply be * cleared. * * @param row the widget's row * @param column the widget's column * @return true if a widget was removed * @throws IndexOutOfBoundsException */ public boolean clearCell(int row, int column) { Element td = getCellFormatter().getElement(row, column); return internalClearCell(td, true); }