List of usage examples for com.vaadin.ui AbstractSplitPanel setSizeFull
@Override public void setSizeFull()
From source file:org.opennms.features.jmxconfiggenerator.webui.ui.mbeans.MBeansView.java
License:Open Source License
private AbstractSplitPanel initMainPanel(Component first, Component second) { AbstractSplitPanel layout = new HorizontalSplitPanel(); layout.setSizeFull(); layout.setLocked(false);//from w ww. j a v a 2 s . co m layout.setSplitPosition(20, UNITS_PERCENTAGE); layout.setFirstComponent(first); layout.setSecondComponent(second); layout.setCaption(first.getCaption()); return layout; }
From source file:org.opennms.features.vaadin.jmxconfiggenerator.ui.mbeans.MBeansView.java
License:Open Source License
private AbstractSplitPanel initMainPanel(Tree first, Component second) { AbstractSplitPanel splitPanel = new HorizontalSplitPanel(); splitPanel.setSizeFull(); splitPanel.setLocked(false);/* w w w.j a v a 2 s.co m*/ splitPanel.setSplitPosition(25, Unit.PERCENTAGE); splitPanel.setFirstComponent(first); splitPanel.setSecondComponent(second); splitPanel.setCaption(first.getCaption()); return splitPanel; }