public void clean() { flexTable.removeAllRows(); rowIndex = 0; } }
public void clean() { flexTable.removeAllRows(); rowIndex = 0; } }
public void clearContent() { table.removeAllRows(); }
private void clearContent() { table.removeAllRows(); }
public void clearContent() { table.removeAllRows(); }
public void clearContent() { table.removeAllRows(); }
private void clearContent() { table.removeAllRows(); }
@Override public void clear() { subtypes.removeAllRows(); imageWidgets.clear(); }
@Override public void clear() { subtypes.removeAllRows(); imageWidgets.clear(); }
/*************************************** * @see GenericLayout#clear(HasWidgets) */ @Override public void clear(HasWidgets rContainer) { super.clear(rContainer); ((FlexTable) rContainer).removeAllRows(); }
/*************************************** * @see GenericLayout#clear(HasWidgets) */ @Override public void clear(HasWidgets rContainer) { super.clear(rContainer); ((FlexTable) rContainer).removeAllRows(); }
private void setupGrid() { grid.removeAllRows(); grid.insertRow(0); // Back arrows if (getDatePicker().isYearArrowsVisible()) { addCell(yearBackwards, "1"); } addCell(monthBackwards, "1"); // Month/Year column if (getDatePicker().isYearAndMonthDropdownVisible()) { // Drop-down if (getModel().isMonthBeforeYear()) { addCell(monthSelect, "50%", css().month()); addCell(yearSelect, "50%", css().year()); } else { addCell(yearSelect, "50%", css().year()); addCell(monthSelect, "50%", css().month()); } } else { // Text-only monthColumn = addCell(null, "100%", css().month()); } // Forward arrows addCell(monthForwards, "1"); if (getDatePicker().isYearArrowsVisible()) { addCell(yearForwards, "1"); } }
public void setData(@Nonnull final List<T> entries) { assert columnDefinitions != null; table.removeAllRows(); messageLabel.setVisible(false); table.setVisible(true); for (int i = 0; i < entries.size(); i++) { T entry = entries.get(i); for (int j = 0; j < columnDefinitions.size(); j++) { ColumnDefinition<T> columnDefinition = columnDefinitions.get(j); table.setText(i, j, columnDefinition.getContent(entry)); table.getCellFormatter().addStyleName(i, j, resources.css().selectableTableRow()); } } restoreRowSelection(); if (hotkeysEnabled) { focuser.setFocus(true); } }
/*************************************** * Re-initializes the columns of this table. */ private void resetColumns() { TableFilterPanel rFilterPanel = aToolBar.getFilterPanel(); String sCommonFilter = searchCommonFilterCriterion(); nDataWidth = nDataHeight = 0; aDataTable.removeAllRows(); SearchableDataModel<?> rSearchableModel = null; if (rFilterPanel != null) { rSearchableModel = (SearchableDataModel<?>) rData; rFilterPanel.reset(); } boolean bHasTextColumns = aHeader.initColumns(rFilterPanel); if (rFilterPanel != null) { rFilterPanel.init(rSearchableModel, sCommonFilter, bHasTextColumns); } bColumnsChanged = false; }
@Override @SuppressWarnings("unused") public void loadContent( final FolderListing content, final Map<FolderItem, List<FolderItem>> siblings ) { if ( content != null ) { if ( content.equals( activeContent ) ) { return; } activeContent = content; container.clear(); navigator.removeAllRows(); setupBreadcrumb( content ); setupUpFolder( content ); setupContent( content ); container.add( navigatorPanel ); navigator.getColumnFormatter().setWidth( 0, "15px" ); navigator.getColumnFormatter().setWidth( 1, "15px" ); } }
public void updateTimeSeriesMetadata() { metadataTable.removeAllRows(); Timeseries timeSeries = controller.getTimeSeries(); addRow(i18n.provider(),timeSeries.getSosUrl()); addRow(i18n.station(), timeSeries.getStationName()); addRow(i18n.phenomenon(), timeSeries.getTimeSeriesLabel()); addRow(i18n.unit(), timeSeries.getUnitOfMeasure()); addRowsForReferenceValues(timeSeries); markForRedraw(); }
private void setupGrid() { grid.removeAllRows(); grid.insertRow(0); // Back arrows if (getDatePicker().isYearArrowsVisible()) { addCell(yearBackwards, "1"); } addCell(monthBackwards, "1"); // Month/Year column if (getDatePicker().isYearAndMonthDropdownVisible()) { // Drop-down if (getModel().isMonthBeforeYear()) { addCell(monthSelect, "50%", css().month()); addCell(yearSelect, "50%", css().year()); } else { addCell(yearSelect, "50%", css().year()); addCell(monthSelect, "50%", css().month()); } } else { // Text-only monthColumn = addCell(null, "100%", css().month()); } // Forward arrows addCell(monthForwards, "1"); if (getDatePicker().isYearArrowsVisible()) { addCell(yearForwards, "1"); } }
private void setupGrid() { grid.removeAllRows(); grid.insertRow(0); // Back arrows if (getDatePicker().isYearArrowsVisible()) { addCell(yearBackwards, "1"); } addCell(monthBackwards, "1"); // Month/Year column if (getDatePicker().isYearAndMonthDropdownVisible()) { // Drop-down if (getModel().isMonthBeforeYear()) { addCell(monthSelect, "50%", css().month()); addCell(yearSelect, "50%", css().year()); } else { addCell(yearSelect, "50%", css().year()); addCell(monthSelect, "50%", css().month()); } } else { // Text-only monthColumn = addCell(null, "100%", css().month()); } // Forward arrows addCell(monthForwards, "1"); if (getDatePicker().isYearArrowsVisible()) { addCell(yearForwards, "1"); } }
layout.removeAllRows(); currentLayoutRow = 0;
layout.removeAllRows(); currentLayoutRow = 0;