Example usage for com.vaadin.ui Tree getCaption

List of usage examples for com.vaadin.ui Tree getCaption

Introduction

In this page you can find the example usage for com.vaadin.ui Tree getCaption.

Prototype

@Override
    public String getCaption() 

Source Link

Usage

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();//from www  . j  a v a 2 s.  c  om
    splitPanel.setLocked(false);
    splitPanel.setSplitPosition(25, Unit.PERCENTAGE);

    splitPanel.setFirstComponent(first);
    splitPanel.setSecondComponent(second);
    splitPanel.setCaption(first.getCaption());
    return splitPanel;
}