List of usage examples for com.vaadin.ui VerticalLayout setHeight
@Override public void setHeight(String height)
From source file:org.escidoc.browser.controller.ContentModelView.java
License:Open Source License
private Panel buildDirectMembersPanel() { // common part: create layout Panel directMembersPanel = new Panel(); directMembersPanel.setImmediate(false); directMembersPanel.setWidth("100.0%"); directMembersPanel.setHeight("100.0%"); directMembersPanel.setStyleName(Runo.PANEL_LIGHT); // vlDirectMember VerticalLayout vlDirectMember = new VerticalLayout(); vlDirectMember.setImmediate(false);/*from w w w .j a v a 2 s.co m*/ vlDirectMember.setWidth("100.0%"); vlDirectMember.setHeight("100.0%"); vlDirectMember.setMargin(false); directMembersPanel.setContent(vlDirectMember); return directMembersPanel; }
From source file:org.escidoc.browser.controller.ContentModelView.java
License:Open Source License
private VerticalLayout buildVlRightPanel() { // common part: create layout VerticalLayout vlRightPanel = new VerticalLayout(); vlRightPanel.setImmediate(false);/*from w ww . j a v a 2 s .c o m*/ vlRightPanel.setWidth("100.0%"); vlRightPanel.setHeight("100.0%"); vlRightPanel.setMargin(false); return vlRightPanel; }
From source file:org.escidoc.browser.controller.ContentModelView.java
License:Open Source License
private Panel buildBreadCrumpPanel() { // common part: create layout Panel breadCrumpPanel = new Panel(); breadCrumpPanel.setImmediate(false); breadCrumpPanel.setWidth("100.0%"); breadCrumpPanel.setHeight("30px"); breadCrumpPanel.setStyleName(Runo.PANEL_LIGHT); // vlBreadCrump VerticalLayout vlBreadCrump = new VerticalLayout(); vlBreadCrump.setImmediate(false);//from ww w .j av a 2 s.c o m vlBreadCrump.setWidth("100.0%"); vlBreadCrump.setHeight("100.0%"); vlBreadCrump.setMargin(false); breadCrumpPanel.setContent(vlBreadCrump); // BreadCreumb new BreadCrumbMenu(breadCrumpPanel, resourceProxy.getName().toString()); return breadCrumpPanel; }
From source file:org.escidoc.browser.controller.ContentModelView.java
License:Open Source License
private VerticalLayout buildVlResourceProperties() { // common part: create layout VerticalLayout vlResourceProperties = new VerticalLayout(); vlResourceProperties.setImmediate(false); vlResourceProperties.setWidth("100.0%"); vlResourceProperties.setHeight("100.0%"); vlResourceProperties.setMargin(false); // creating the properties / without the breadcrump createProperties(vlResourceProperties); return vlResourceProperties; }
From source file:org.escidoc.browser.ekinematixmodule.views.RechercheView.java
License:Open Source License
private VerticalLayout buildVlContentPanel() throws EscidocClientException { // common part: create layout VerticalLayout vlContentPanel = new VerticalLayout(); vlContentPanel.setImmediate(false);//from w w w .j a v a2 s. c o m vlContentPanel.setWidth("100.0%"); vlContentPanel.setHeight("100.0%"); vlContentPanel.setMargin(false, true, false, true); // breadCrumpPanel Panel breadCrump = buildBreadCrumpPanel(); vlContentPanel.addComponent(breadCrump); // Permanent Link new CreateResourceLinksVH(mainWindow.getURL().toString(), resourceProxy, vlContentPanel, router); return vlContentPanel; }
From source file:org.escidoc.browser.ekinematixmodule.views.RechercheView.java
License:Open Source License
private Panel buildBreadCrumpPanel() { // common part: create layout Panel breadCrumpPanel = new Panel(); breadCrumpPanel.setImmediate(false); breadCrumpPanel.setWidth("100.0%"); breadCrumpPanel.setHeight("30px"); breadCrumpPanel.setStyleName(Runo.PANEL_LIGHT); // vlBreadCrump VerticalLayout vlBreadCrump = new VerticalLayout(); vlBreadCrump.setImmediate(false);/*from w ww.j av a 2 s. co m*/ vlBreadCrump.setWidth("100.0%"); vlBreadCrump.setHeight("100.0%"); vlBreadCrump.setMargin(false); breadCrumpPanel.setContent(vlBreadCrump); // BreadCreumb new BreadCrumbMenu(breadCrumpPanel, resourceProxy); return breadCrumpPanel; }
From source file:org.escidoc.browser.ui.maincontent.ContainerMetadataRecordsView.java
License:Open Source License
public Panel asPanel() { final Panel pnlmetadataRecs = new Panel(); pnlmetadataRecs.setSizeFull();//from w ww . j a va 2s . c om VerticalLayout vl = new VerticalLayout(); vl.setImmediate(false); vl.setWidth("100.0%"); vl.setHeight("100.0%"); vl.setMargin(false); vl.addComponent(lblMetadaRecs()); pnlmetadataRecs.setContent(vl); return pnlmetadataRecs; }
From source file:org.escidoc.browser.ui.maincontent.ContainerView.java
License:Open Source License
private VerticalLayout buildVlContentPanel() throws EscidocClientException { // common part: create layout VerticalLayout vlContentPanel = new VerticalLayout(); vlContentPanel.setImmediate(false);/* ww w.j a v a 2s .com*/ vlContentPanel.setWidth("100.0%"); vlContentPanel.setHeight("100.0%"); vlContentPanel.setMargin(false, true, false, true); new CreateResourceLinksVH(mainWindow.getURL().toString(), resourceProxy, vlContentPanel, router); // resourcePropertiesPanel Panel resourcePropertiesPanel = buildResourcePropertiesPanel(); vlContentPanel.addComponent(resourcePropertiesPanel); vlContentPanel.setExpandRatio(resourcePropertiesPanel, 1.5f); // metaViewsPanel contains Panel for the DirectMembers & for the Metas Panel metaViewsPanel = buildMetaViewsPanel(); vlContentPanel.addComponent(metaViewsPanel); vlContentPanel.setExpandRatio(metaViewsPanel, 8.0f); return vlContentPanel; }
From source file:org.escidoc.browser.ui.maincontent.ContainerView.java
License:Open Source License
private VerticalLayout buildVlRightPanel() { // common part: create layout VerticalLayout vlRightPanel = new VerticalLayout(); vlRightPanel.setImmediate(false);// w ww . j a v a 2s . c o m vlRightPanel.setWidth("100.0%"); vlRightPanel.setHeight("100.0%"); vlRightPanel.setMargin(false); // metaDataRecsAcc Panel metaDataRecsAcc = new ContainerMetadataRecordsView(resourceProxy, repositories, router, containerController).asPanel(); vlRightPanel.addComponent(metaDataRecsAcc); return vlRightPanel; }
From source file:org.escidoc.browser.ui.maincontent.ContainerView.java
License:Open Source License
private VerticalLayout buildVlLeftPanel() throws EscidocClientException { // common part: create layout VerticalLayout vlLeftPanel = new VerticalLayout(); vlLeftPanel.setImmediate(false);/*from w w w . j a v a2 s. co m*/ vlLeftPanel.setWidth("100.0%"); vlLeftPanel.setHeight("100.0%"); vlLeftPanel.setMargin(false); // directMembersPanel Panel directMembersPanel = buildDirectMembersPanel(); directMembersPanel.setStyleName("directmembers"); vlLeftPanel.addComponent(directMembersPanel); return vlLeftPanel; }