@SuppressWarnings("deprecation") @Override protected void replaceChildren(List<T> values, int start, SafeHtml html) { refreshHeadersAndColumnsImpl(); /* * If html is not null and legacyRenderRowValues is true, then the user * override renderRowValues() and rendered directly into a SafeHtmlBuilder. * The legacy method is deprecated but still supported. */ if (html == null || legacyRenderRowValues == false) { html = buildRowValues(values, getPageStart() + start, false); } TABLE_IMPL.replaceChildren(this, getTableBodyElement(), CellBasedWidgetImpl.get().processHtml( html), start, values.size()); }
@Override protected void replaceAllChildren(List<T> values, SafeHtml html) { refreshHeadersAndColumnsImpl(); /* * If html is not null and legacyRenderRowValues is true, then the user * overrode renderRowValues() and rendered directly into a SafeHtmlBuilder. * The legacy method is deprecated but still supported. */ if (html == null || legacyRenderRowValues == false) { html = buildRowValues(values, getPageStart(), true); } TABLE_IMPL.replaceAllRows(this, getTableBodyElement(), CellBasedWidgetImpl.get().processHtml( html)); }
@SuppressWarnings("deprecation") @Override protected void replaceChildren(List<T> values, int start, SafeHtml html) { refreshHeadersAndColumnsImpl(); /* * If html is not null and legacyRenderRowValues is true, then the user * override renderRowValues() and rendered directly into a SafeHtmlBuilder. * The legacy method is deprecated but still supported. */ if (html == null || legacyRenderRowValues == false) { html = buildRowValues(values, getPageStart() + start, false); } TABLE_IMPL.replaceChildren(this, getTableBodyElement(), CellBasedWidgetImpl.get().processHtml( html), start, values.size()); }
@SuppressWarnings("deprecation") @Override protected void replaceChildren(List<T> values, int start, SafeHtml html) { refreshHeadersAndColumnsImpl(); /* * If html is not null and legacyRenderRowValues is true, then the user * override renderRowValues() and rendered directly into a SafeHtmlBuilder. * The legacy method is deprecated but still supported. */ if (html == null || legacyRenderRowValues == false) { html = buildRowValues(values, getPageStart() + start, false); } TABLE_IMPL.replaceChildren(this, getTableBodyElement(), CellBasedWidgetImpl.get().processHtml( html), start, values.size()); }
@Override protected void replaceAllChildren(List<T> values, SafeHtml html) { refreshHeadersAndColumnsImpl(); /* * If html is not null and legacyRenderRowValues is true, then the user * overrode renderRowValues() and rendered directly into a SafeHtmlBuilder. * The legacy method is deprecated but still supported. */ if (html == null || legacyRenderRowValues == false) { html = buildRowValues(values, getPageStart(), true); } TABLE_IMPL.replaceAllRows(this, getTableBodyElement(), CellBasedWidgetImpl.get().processHtml( html)); }
@Override protected void replaceAllChildren(List<T> values, SafeHtml html) { refreshHeadersAndColumnsImpl(); /* * If html is not null and legacyRenderRowValues is true, then the user * overrode renderRowValues() and rendered directly into a SafeHtmlBuilder. * The legacy method is deprecated but still supported. */ if (html == null || legacyRenderRowValues == false) { html = buildRowValues(values, getPageStart(), true); } TABLE_IMPL.replaceAllRows(this, getTableBodyElement(), CellBasedWidgetImpl.get().processHtml( html)); }