@Test public void testCreateSectionHeader() { TestTablePmo containerPmo = new TestTablePmo(); BindingContext bindingContext = new BindingContext(); PmoBasedSectionFactory factory = new PmoBasedSectionFactory(); AbstractSection tableSection = factory.createSection(containerPmo, bindingContext); HorizontalLayout header = (HorizontalLayout)tableSection.getComponent(0); assertThat(header.getComponent(3), instanceOf(Button.class)); assertThat(header.getComponent(3).getCaption(), is("header button")); }
@Deprecated public TableSection createSection() { return (TableSection)new PmoBasedSectionFactory().createSection(containerPmo, bindingContext); }
PmoBasedTableSectionFactory { @Deprecated public TableSection createSection() { return (TableSection)new PmoBasedSectionFactory().createSection(containerPmo, bindingContext); } }
PmoBasedTableSectionFactory { @Deprecated public TableSection createSection() { return (TableSection)new PmoBasedSectionFactory().createSection(containerPmo, bindingContext); } @Deprecated  PmoBasedTableSectionFactory(ContainerPmo<ROW> containerPmo, BindingContext bindingContext); }
PmoBasedTableSectionFactory { @Deprecated public TableSection createSection() { return (TableSection)new PmoBasedSectionFactory().createSection(containerPmo, bindingContext); } @Deprecated  PmoBasedTableSectionFactory(ContainerPmo<ROW> containerPmo, BindingContext bindingContext); @Deprecated TableSection createSection(); }
PmoBasedTableSectionFactory { @Deprecated public TableSection createSection() { return (TableSection)new PmoBasedSectionFactory().createSection(containerPmo, bindingContext); } @Deprecated  PmoBasedTableSectionFactory(ContainerPmo<ROW> containerPmo, BindingContext bindingContext); @Deprecated TableSection createSection();  }