List of usage examples for com.vaadin.ui HorizontalSplitPanel HorizontalSplitPanel
public HorizontalSplitPanel()
From source file:uk.q3c.krail.core.ui.DefaultApplicationUI.java
License:Apache License
protected void splitPanel() { if (splitPanel == null) { splitPanel = new HorizontalSplitPanel(); splitPanel.setWidth("100%"); splitPanel.setSplitPosition(200, Unit.PIXELS); }/*from w w w . jav a 2 s . c om*/ if (option.get(optionNavTreeVisible)) { splitPanel.setFirstComponent(navTree); splitPanel.setSecondComponent(mainArea); splitPanel.setVisible(true); } else { splitPanel.setVisible(false); } }