List of usage examples for com.vaadin.ui HorizontalSplitPanel HorizontalSplitPanel
public HorizontalSplitPanel(Component firstComponent, Component secondComponent)
From source file:org.ikasan.dashboard.ui.administration.window.PolicyAssociationBusinessStreamSearchWindow.java
License:BSD License
/** * Helper method to initialise this object. * /*w ww. j a v a 2s .co m*/ * @param message */ protected void init() { this.setSizeFull(); this.setModal(true); this.createSearchPanel(); this.createResultsPanel(); VerticalLayout leftPanelLayout = new VerticalLayout(); leftPanelLayout.setWidth(320, Unit.PIXELS); leftPanelLayout.setHeight("100%"); leftPanelLayout.addComponent(this.searchPanel); HorizontalLayout rightPanelLayout = new HorizontalLayout(); rightPanelLayout.setSizeFull(); rightPanelLayout.addComponent(this.resultsPanel); this.horizontalSplitPanel = new HorizontalSplitPanel(leftPanelLayout, rightPanelLayout); this.horizontalSplitPanel.setSizeFull(); this.horizontalSplitPanel.setSplitPosition(320, Unit.PIXELS); this.horizontalSplitPanel.setLocked(true); this.horizontalSplitPanel.addStyleName("ikasansplitpanel"); this.setContent(horizontalSplitPanel); }
From source file:org.ikasan.dashboard.ui.administration.window.PolicyAssociationFlowSearchWindow.java
License:BSD License
/** * Helper method to initialise this object. * /*from w w w .java2 s. c o m*/ * @param message */ protected void init() { this.setSizeFull(); this.setModal(true); this.serverCombo = new ComboBox(); this.moduleCombo = new ComboBox(); this.createSearchPanel(); this.createResultsPanel(); VerticalLayout leftPanelLayout = new VerticalLayout(); leftPanelLayout.setMargin(true); leftPanelLayout.setWidth(320, Unit.PIXELS); leftPanelLayout.setHeight("100%"); leftPanelLayout.addComponent(this.searchPanel); HorizontalLayout rightPanelLayout = new HorizontalLayout(); rightPanelLayout.setSizeFull(); rightPanelLayout.setMargin(true); rightPanelLayout.addComponent(this.resultsPanel); this.horizontalSplitPanel = new HorizontalSplitPanel(leftPanelLayout, rightPanelLayout); this.horizontalSplitPanel.setSizeFull(); this.horizontalSplitPanel.setSplitPosition(320, Unit.PIXELS); this.horizontalSplitPanel.setLocked(true); this.horizontalSplitPanel.addStyleName("ikasansplitpanel"); this.setContent(horizontalSplitPanel); }
From source file:org.ikasan.dashboard.ui.administration.window.PolicyAssociationModuleSearchWindow.java
License:BSD License
/** * Helper method to initialise this object. * /*from www.j a va 2s . c om*/ * @param message */ protected void init() { this.setSizeFull(); this.setModal(true); this.serverCombo = new ComboBox(); this.createSearchPanel(); this.createResultsPanel(); VerticalLayout leftPanelLayout = new VerticalLayout(); leftPanelLayout.setMargin(true); leftPanelLayout.setWidth(320, Unit.PIXELS); leftPanelLayout.setHeight("100%"); leftPanelLayout.addComponent(this.searchPanel); HorizontalLayout rightPanelLayout = new HorizontalLayout(); rightPanelLayout.setSizeFull(); rightPanelLayout.setMargin(true); rightPanelLayout.addComponent(this.resultsPanel); this.horizontalSplitPanel = new HorizontalSplitPanel(leftPanelLayout, rightPanelLayout); this.horizontalSplitPanel.setSizeFull(); this.horizontalSplitPanel.setSplitPosition(320, Unit.PIXELS); this.horizontalSplitPanel.setLocked(true); this.horizontalSplitPanel.addStyleName("ikasansplitpanel"); this.setContent(horizontalSplitPanel); }