Example usage for com.vaadin.v7.ui ProgressBar ProgressBar

List of usage examples for com.vaadin.v7.ui ProgressBar ProgressBar

Introduction

In this page you can find the example usage for com.vaadin.v7.ui ProgressBar ProgressBar.

Prototype

public ProgressBar() 

Source Link

Document

Creates a new progress bar initially set to 0% progress.

Usage

From source file:de.symeda.sormas.ui.importer.ImportProgressLayout.java

License:Open Source License

private void initializeInfoComponents() {
    progressCircle = new ProgressBar();
    progressCircle.setIndeterminate(true);
    CssStyles.style(progressCircle, "v-progressbar-indeterminate-large");

    errorIcon = new Image(null, new ThemeResource("img/error-icon.png"));
    errorIcon.setHeight(35, Unit.PIXELS);
    errorIcon.setWidth(35, Unit.PIXELS);
    successIcon = new Image(null, new ThemeResource("img/success-icon.png"));
    successIcon.setHeight(35, Unit.PIXELS);
    successIcon.setWidth(35, Unit.PIXELS);
    warningIcon = new Image(null, new ThemeResource("img/warning-icon.png"));
    warningIcon.setHeight(35, Unit.PIXELS);
    warningIcon.setWidth(35, Unit.PIXELS);
}