Example usage for com.vaadin.ui VerticalLayout getHeight

List of usage examples for com.vaadin.ui VerticalLayout getHeight

Introduction

In this page you can find the example usage for com.vaadin.ui VerticalLayout getHeight.

Prototype

@Override
    public float getHeight() 

Source Link

Usage

From source file:probe.com.model.util.vaadintoimageutil.Convertor.java

private JPanel convertVerticalLayout(VerticalLayout vaadinVerticalLayout) {

    JPanel verticalComponent = new JPanel();
    verticalComponent.setSize((int) vaadinVerticalLayout.getWidth(), (int) vaadinVerticalLayout.getHeight());
    verticalComponent.setBackground(backgroundMap.get(vaadinVerticalLayout.getStyleName()));
    return verticalComponent;
}