com.vaadin.ui.Table.setCellStyleGenerator()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(7.1k)|赞(0)|评价(0)|浏览(234)

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

Table.setCellStyleGenerator介绍

暂无

代码示例

代码示例来源:origin: org.opennms.features.topology/org.opennms.features.topology.api

  1. /**
  2. * Call this method before any of the {@link SelectionNotifier} methods to ensure
  3. * that the {@link SelectionListener} instances are registered with all of the
  4. * {@link ColumnGenerator} classes that also implement {@link SelectionNotifier}.
  5. */
  6. @Override
  7. public void setCellStyleGenerator(CellStyleGenerator generator) {
  8. super.setCellStyleGenerator(generator);
  9. }

代码示例来源:origin: org.opennms.features.topology/api

  1. /**
  2. * Call this method before any of the {@link SelectionNotifier} methods to ensure
  3. * that the {@link SelectionListener} instances are registered with all of the
  4. * {@link ColumnGenerator} classes that also implement {@link SelectionNotifier}.
  5. */
  6. @Override
  7. public void setCellStyleGenerator(CellStyleGenerator generator) {
  8. super.setCellStyleGenerator(generator);
  9. }

代码示例来源:origin: com.holon-platform.vaadin7/holon-vaadin

  1. /**
  2. * Table initialization
  3. * @param table Table to initialize
  4. */
  5. protected void initTable(Table table) {
  6. table.setTableFieldFactory(this);
  7. table.setCellStyleGenerator(this);
  8. }

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. modules.addContainerProperty("", Button.class, null);
  2. modules.setSizeFull();
  3. modules.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  4. modules.setDragMode(TableDragMode.ROW);
  5. modules.setDropHandler(new DropHandler()
  6. flows.addContainerProperty("", Button.class, null);
  7. flows.setSizeFull();
  8. flows.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  9. flows.setDropHandler(new DropHandler()
  10. components.addContainerProperty("Component Name", String.class, null);
  11. components.addContainerProperty("", Button.class, null);
  12. components.setCellStyleGenerator(new IkasanCellStyleGenerator());
  13. components.setSizeFull();
  14. components.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  15. components.setDropHandler(new DropHandler()

代码示例来源:origin: org.opencms/opencms-core

  1. m_fileTable.setCellStyleGenerator(new Table.CellStyleGenerator() {

代码示例来源:origin: org.activiti/activiti-explorer

  1. selectionTable.setHeight(100, UNITS_PERCENTAGE);
  2. selectionTable.setCellStyleGenerator(new CellStyleGenerator() {
  3. private static final long serialVersionUID = 1L;
  4. public String getStyle(Object itemId, Object propertyId) {

代码示例来源:origin: org.activiti/activiti-explorer

  1. attachmentTypes.setHeight(100, UNITS_PERCENTAGE);
  2. attachmentTypes.setCellStyleGenerator(new CellStyleGenerator() {
  3. private static final long serialVersionUID = 1L;
  4. public String getStyle(Object itemId, Object propertyId) {

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. this.errorOccurenceTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  2. this.errorOccurenceTable.addStyleName(ValoTheme.TABLE_SMALL);
  3. this.errorOccurenceTable.addStyleName("ikasan");

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. this.errorOccurenceTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  2. this.errorOccurenceTable.addStyleName(ValoTheme.TABLE_SMALL);
  3. this.errorOccurenceTable.addStyleName("ikasan");

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. this.errorOccurenceTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  2. this.errorOccurenceTable.addStyleName(ValoTheme.TABLE_SMALL);
  3. this.errorOccurenceTable.addStyleName("ikasan");

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. this.systemEventTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  2. this.systemEventTable.addContainerProperty("Subject", String.class, null);
  3. this.systemEventTable.setColumnExpandRatio("Subject", .3f);

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. this.errorOccurenceTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  2. this.errorOccurenceTable.addStyleName(ValoTheme.TABLE_SMALL);
  3. this.errorOccurenceTable.addStyleName("ikasan");

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. this.directoryTable.setWidth("100%");
  2. this.directoryTable.setHeight("600px");
  3. this.directoryTable.setCellStyleGenerator(new IkasanCellStyleGenerator());
  4. this.directoryTable.addContainerProperty("Directory Name", String.class, null);
  5. this.directoryTable.addContainerProperty("Type", String.class, null);

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. systemEventTable.setWidth("100%");
  2. systemEventTable.setHeight("200px");
  3. systemEventTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  4. systemEventTable.addContainerProperty("Subject", String.class, null);
  5. systemEventTable.setColumnExpandRatio("Subject", .3f);

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. this.roleTable.addStyleName("ikasan");
  2. this.roleTable.addStyleName(ValoTheme.TABLE_SMALL);
  3. this.roleTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  4. this.roleTable.setSizeFull();
  5. this.associatedUsersTable.addStyleName("ikasan");
  6. this.associatedUsersTable.addStyleName(ValoTheme.TABLE_SMALL);
  7. this.associatedUsersTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  8. this.associatedUsersTable.setSizeFull();

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. this.businessStreamTable.setWidth("100%");
  2. this.businessStreamTable.setHeight(600, Unit.PIXELS);
  3. this.businessStreamTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  4. this.businessStreamTable.setDragMode(TableDragMode.ROW);
  5. this.businessStreamTable.setDropHandler(new DropHandler()

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. this.dashboadActivityTable.addStyleName("ikasan");
  2. this.dashboadActivityTable.addStyleName(ValoTheme.TABLE_SMALL);
  3. this.dashboadActivityTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  4. this.dashboadActivityTable.setSizeFull();
  5. this.permissionChangeTable.addStyleName("ikasan");
  6. this.permissionChangeTable.addStyleName(ValoTheme.TABLE_SMALL);
  7. this.permissionChangeTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  8. this.permissionChangeTable.setSizeFull();

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. dashboardActivityTable.addStyleName("ikasan");
  2. dashboardActivityTable.addStyleName(ValoTheme.TABLE_SMALL);
  3. dashboardActivityTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  4. dashboardActivityTable.setSizeFull();
  5. this.permissionChangeTable.addStyleName("ikasan");
  6. this.permissionChangeTable.addStyleName(ValoTheme.TABLE_SMALL);
  7. this.permissionChangeTable.setCellStyleGenerator(new IkasanSmallCellStyleGenerator());
  8. this.permissionChangeTable.setSizeFull();

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. this.triggerTable.setCellStyleGenerator(new IkasanCellStyleGenerator());
  2. this.triggerTable.addStyleName(ValoTheme.TABLE_SMALL);
  3. this.triggerTable.addStyleName("ikasan");

代码示例来源:origin: org.ikasan/ikasan-dashboard-jar

  1. this.existingCategorisedErrorsTable.addStyleName(ValoTheme.TABLE_NO_STRIPES);
  2. this.existingCategorisedErrorsTable.setCellStyleGenerator(new Table.CellStyleGenerator() {
  3. @Override
  4. public String getStyle(Table source, Object itemId, Object propertyId) {

相关文章