Search in sources :

Example 1 with AbstractSplitPanel

use of com.vaadin.ui.AbstractSplitPanel in project opennms by OpenNMS.

the class MBeansView method initMainPanel.

private AbstractSplitPanel initMainPanel(Tree first, Component second) {
    AbstractSplitPanel splitPanel = new HorizontalSplitPanel();
    splitPanel.setSizeFull();
    splitPanel.setLocked(false);
    splitPanel.setSplitPosition(25, Unit.PERCENTAGE);
    splitPanel.setFirstComponent(first);
    splitPanel.setSecondComponent(second);
    splitPanel.setCaption(first.getCaption());
    return splitPanel;
}
Also used : HorizontalSplitPanel(com.vaadin.ui.HorizontalSplitPanel) AbstractSplitPanel(com.vaadin.ui.AbstractSplitPanel)

Aggregations

AbstractSplitPanel (com.vaadin.ui.AbstractSplitPanel)1 HorizontalSplitPanel (com.vaadin.ui.HorizontalSplitPanel)1