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

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

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

DataGrid.<init>介绍

[英]Constructs a table with a default page size of 50.
[中]构造一个默认页面大小为50的表。

代码示例

代码示例来源:origin: org.geomajas/geomajas-gwt-example-base

@UiFactory
protected DataGrid<ShowcaseSampleDefinition> createGrid() {
  return new DataGrid<ShowcaseSampleDefinition>(1000, RESOURCE);
}

代码示例来源:origin: org.geomajas/geomajas-client-gwt2-example-base

@UiFactory
protected DataGrid<ShowcaseSampleDefinition> createGrid() {
  return new DataGrid<ShowcaseSampleDefinition>(1000, RESOURCE);
}

代码示例来源:origin: org.geomajas/geomajas-puregwt-example-base

@UiFactory
protected DataGrid<ShowcaseSampleDefinition> createGrid() {
  return new DataGrid<ShowcaseSampleDefinition>(1000, RESOURCE);
}

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

public ValidationGrid() {
  this.dataGrid = new DataGrid<>(100, DataGridResources.INSTANCE);
  initWidget(dataGrid);
  this.dataGrid.setWidth("100%");
  this.dataGrid.setHeight("100%");
}

代码示例来源:origin: org.kie.guvnor/guvnor-test-scenario-editor-client

@Inject
public TestRunnerReportingViewImpl() {
  dataGrid = new DataGrid<Failure>();
  dataGrid.setWidth("100%");
  dataGrid.setAutoHeaderRefreshDisabled(true);
  dataGrid.setEmptyTableWidget(new Label("---"));
  setUpColumns();
  initWidget(uiBinder.createAndBindUi(this));
}

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

public ValidationMappingGrid() {
  this.dataGrid = new DataGrid<>(100, DataGridResources.INSTANCE);
  dataGrid.addColumn(new ValidationClassGridColumn(), new TextHeader(I18N.CONSTANTS.message()));
  initWidget(dataGrid);
}

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

private DataGrid<LogUiAppender> createDatagrid() {
  final DataGrid<LogUiAppender> dataGrid = new DataGrid<>(30);

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

@Inject
public ExtensionManagerViewImpl(
  ToolbarPresenter toolbarPresenter, ActionManager actionManager, Resources resources) {
 dataGrid = new DataGrid<>(100, resources);
 rootElement = ourUiBinder.createAndBindUi(this);
 DefaultActionGroup actionGroup =
   new DefaultActionGroup("extensionManager", false, actionManager);
 actionManager.registerAction("extensionManagerGroup", actionGroup);
 toolbarPresenter.bindMainGroup(actionGroup);
 UIObject.ensureDebugId(descriptionArea, "window-preferences-extensions-descriptionArea");
 Column<ExtensionDescription, String> titleColumn =
   new Column<ExtensionDescription, String>(new TextCell()) {
    @Override
    public String getValue(ExtensionDescription object) {
     return object.getTitle();
    }
   };
 titleColumn.setCellStyleNames(style.titleColumn());
 dataGrid.addColumn(titleColumn);
 SingleSelectionModel<ExtensionDescription> selectionModel =
   new SingleSelectionModel<ExtensionDescription>();
 dataGrid.setSelectionModel(selectionModel);
 selectionModel.addSelectionChangeHandler(
   new SelectionChangeEvent.Handler() {
    @Override
    public void onSelectionChange(SelectionChangeEvent event) {}
   });
}

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

DataGrid widget = new DataGrid<JSONObject>();
widget.setWidth("100%");
widget.setAutoHeaderRefreshDisabled(true);

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

private DataGrid<LogUiLogger> createDatagrid() {
  final DataGrid<LogUiLogger> dataGrid = new DataGrid<>(30);

相关文章