private final void createSoftwareModuleTab() { this.softwareModuleTab = createTabLayout(); softwareModuleTab.setSizeFull(); softwareModuleTab.addComponent(softwareModuleDetailsTable); }
protected void mainArea() { if (mainArea == null) { mainArea = new VerticalLayout(breadcrumb, getViewDisplayPanel(), subpage); mainArea.setSizeFull(); mainArea.setExpandRatio(getViewDisplayPanel(), 1f); } }
private Layout initContentPanel(NameEditForm form, MBeansContentTabSheet tabSheet) { VerticalLayout layout = new VerticalLayout(); layout.setSizeFull(); layout.setSpacing(false); layout.addComponent(form); layout.addComponent(tabSheet); layout.setExpandRatio(tabSheet, 1); return layout; }
private void createRootLayout() { m_rootLayout = new VerticalLayout(); m_rootLayout.setSizeFull(); m_rootLayout.addStyleName("root-layout"); setContent(m_rootLayout); addHeader(); addContentLayout(); }
VerticalLayout vlMain = new VerticalLayout(); vlMain.setSizeFull(); HorizontalLayout hlFooter = new HorizontalLayout(); hlFooter.setHeight("50px"); // if you want you can define a height. hlFooter.addComponent(new Label("Test1")); // adding a simple component. You might want to set alignment for that component vlMain.addComponent(mainComponent); vlMain.setExpandRatio(mainComponent, 1.0f); // "give" the main component the maximum available space vlMain.addComponent(hlFooter);
public DialogComponent() { layout.addStyleName("detail"); layout.setMargin(false); layout.setSpacing(false); layout.setSizeFull(); setCompositionRoot(layout); setSizeFull(); }
public void init() { this.setSizeFull(); VerticalLayout layout = new VerticalLayout(); layout.setSizeFull(); layout.setMargin(true); layout.addComponent( createReplayEventDetailsPanel()); this.setContent(layout); }
private VerticalLayout buildContent() { final VerticalLayout rootLayout = new VerticalLayout(); rootLayout.setSizeFull(); rootLayout.setStyleName("main-content"); rootLayout.addComponent(buildHeader()); addLoginForm(rootLayout); addFooter(rootLayout); return rootLayout; }
public void init() { this.setSizeFull(); VerticalLayout layout = new VerticalLayout(); layout.setSizeFull(); layout.setMargin(true); layout.addComponent(createPanel()); this.setContent(layout); }
public void init() { this.setSizeFull(); VerticalLayout layout = new VerticalLayout(); layout.setSizeFull(); layout.setMargin(true); layout.addComponent( createReplayEventDetailsPanel()); this.setContent(layout); }
public void init() { this.setSizeFull(); VerticalLayout layout = new VerticalLayout(); layout.setSizeFull(); layout.setMargin(true); layout.addComponent(createErrorOccurrenceDetailsPanel()); this.setContent(layout); }
public void init() { this.setSizeFull(); VerticalLayout layout = new VerticalLayout(); layout.setSizeFull(); layout.setMargin(true); layout.addComponent(createErrorOccurrenceDetailsPanel()); this.setContent(layout); }
public void init() { this.setSizeFull(); VerticalLayout layout = new VerticalLayout(); layout.setSizeFull(); layout.setMargin(true); layout.addComponent( createHousekeepingJobManagementPanel()); this.setContent(layout); }
protected VerticalLayout createMetadataFieldsLayout() { final VerticalLayout metadataFieldsLayout = new VerticalLayout(); metadataFieldsLayout.setSizeFull(); metadataFieldsLayout.setHeight("100%"); metadataFieldsLayout.addComponent(keyTextField); metadataFieldsLayout.addComponent(valueTextArea); metadataFieldsLayout.setSpacing(true); metadataFieldsLayout.setExpandRatio(valueTextArea, 1F); return metadataFieldsLayout; }
private VerticalLayout buildContent() { final VerticalLayout rootLayout = new VerticalLayout(); rootLayout.setSizeFull(); rootLayout.setStyleName("main-content"); rootLayout.addComponent(buildHeader()); addLoginForm(rootLayout); addFooter(rootLayout); return rootLayout; }
public void init() { this.setSizeFull(); VerticalLayout layout = new VerticalLayout(); layout.setSizeFull(); layout.setMargin(true); layout.addComponent(createErrorOccurrenceDetailsPanel()); this.setContent(layout); }
public void init() { this.setSizeFull(); VerticalLayout layout = new VerticalLayout(); layout.setSizeFull(); layout.setMargin(true); layout.addComponent(createErrorOccurrenceDetailsPanel()); this.setContent(layout); }
private void createLayouts() { m_rootLayout = new VerticalLayout(); m_rootLayout.setSizeFull(); m_rootLayout.addStyleName("root-layout"); m_rootLayout.addStyleName("topo-root-layout"); setContent(m_rootLayout); addHeader(); addContentLayout(); addNoContentWindow(); }
private VerticalLayout getTokenFieldLayout() { final TokenField tokenField = targetBulkTokenTags.getTokenField(); final VerticalLayout tokenLayout = SPUIComponentProvider.getDetailTabLayout(); tokenLayout.addStyleName("bulk-target-tags-layout"); tokenLayout.addComponent(tokenField); tokenLayout.setSpacing(false); tokenLayout.setMargin(false); tokenLayout.setSizeFull(); tokenLayout.setHeight("100px"); tokenLayout.setId(UIComponentIdProvider.BULK_UPLOAD_TAG); return tokenLayout; }
private Panel wrapToPanel(Component component) { Panel panel = new Panel(component.getCaption()); panel.setSizeFull(); VerticalLayout layout = new VerticalLayout(); layout.setMargin(false); layout.setSpacing(false); layout.setSizeFull(); layout.addComponent(component); panel.setContent(layout); component.setCaption(null); return panel; }