com.google.gwt.user.cellview.client.DataGrid.setRowData()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(139)

本文整理了Java中com.google.gwt.user.cellview.client.DataGrid.setRowData()方法的一些代码示例,展示了DataGrid.setRowData()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DataGrid.setRowData()方法的具体详情如下:
包路径:com.google.gwt.user.cellview.client.DataGrid
类名称:DataGrid
方法名:setRowData

DataGrid.setRowData介绍

暂无

代码示例

代码示例来源:origin: kaaproject/kaa

detailsView.getSdkAefMapsGrid().getDataGrid().setRowData(aefMapDtoList);
} else {
 detailsView.getSdkAefMapsGrid().getDataGrid()
   .setRowData(new ArrayList<ApplicationEventFamilyMapDto>());

代码示例来源:origin: kaaproject/kaa

detailsView.getGroupsGrid().getDataGrid().setRowData(groupDtoList);
 detailsView.getTopicsGrid().getDataGrid().setRowData(endpointNotificationTopics);
} else {
 detailsView.getTopicsGrid().getDataGrid().setRowData(new ArrayList<TopicDto>());

代码示例来源:origin: bedatadriven/activityinfo

public void refresh(List<ValidationResult> resultList) {
    dataGrid.setRowData(resultList);
  }
}

代码示例来源:origin: org.eclipse.che.core/che-core-ide-app

/** {@inheritDoc} */
@Override
public void setExtensions(List<ExtensionDescription> extensions) {
 dataGrid.setRowData(extensions);
 dataGrid.redraw();
}

代码示例来源:origin: oVirt/ovirt-engine

@Override
public void setRowData(int start, final List<? extends T> values) {
  if (values.size() == 1) {
    addStyleName(HIDE_ONE_ROW_SCROLL);
  } else {
    removeStyleName(HIDE_ONE_ROW_SCROLL);
  }
  super.setRowData(start, values);
  int rowCount = values.size();
  int height = ROW_HEIGHT;
  if (rowCount > 0) {
    height = rowCount * ROW_HEIGHT;
  }
  updateGridSize(height);
}

代码示例来源:origin: org.jresearch.logui/org.jresearch.logui.gwt.core

public void refresh() {
  appenders.setRowData(0, ImmutableList.<LogUiAppender> of());
  appenders.setVisibleRangeAndClearData(new Range(0, appenders.getPageSize()), true);
}

代码示例来源:origin: org.jresearch.logui/org.jresearch.logui.gwt.core

public void refresh() {
  loggers.setRowData(0, ImmutableList.<LogUiLogger> of());
  loggers.setVisibleRangeAndClearData(new Range(0, loggers.getPageSize()), true);
}

代码示例来源:origin: bedatadriven/activityinfo

public void refresh(ValidatedRowTable table) {
  while (dataGrid.getColumnCount() > 0) {
    dataGrid.removeColumn(0);
  }
  for(int i = 0; i< table.getColumns().size(); i++) {
    final FieldImporterColumn column = table.getColumns().get(i);
    String columnHeader = column.getAccessor().getHeading();
    dataGrid.addColumn(new ValidationRowGridColumn(column.getAccessor(), i),
        new TextHeader(columnHeader));
    dataGrid.setColumnWidth(i, GwtUtil.columnWidthInEm(columnHeader), Style.Unit.EM);
  }
  dataGrid.setRowData(table.getRows());
}

代码示例来源:origin: net.sf.javaprinciples.client/client-presentation

widget.setRowData(list);

相关文章