com.vaadin.ui.ProgressBar Java Examples

The following examples show how to use com.vaadin.ui.ProgressBar. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ProgressBarIndicator.java    From mycollab with GNU Affero General Public License v3.0 5 votes vote down vote up
public ProgressBarIndicator() {
    super("progressBar");
    this.progressIndicator = new ProgressBar();
    this.progressIndicator.setWidth("100%");
    this.progressStatusLabel = new Label();
    this.progressStatusLabel.setWidth("100%");
    this.progressStatusLabel.setHeight("100%");
    this.addComponent(this.progressIndicator, "progressbar-container");
    this.addComponent(this.progressStatusLabel, "progressbar-status");
}
 
Example #2
Source File: TargetBulkUpdateWindowLayout.java    From hawkbit with Eclipse Public License 1.0 4 votes vote down vote up
private static ProgressBar creatreProgressBar() {
    final ProgressBar progressBarIndicator = new ProgressBar(0F);
    progressBarIndicator.addStyleName("bulk-upload-label");
    progressBarIndicator.setSizeFull();
    return progressBarIndicator;
}
 
Example #3
Source File: TargetBulkUpdateWindowLayout.java    From hawkbit with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * @return the progressBar
 */
public ProgressBar getProgressBar() {
    return progressBar;
}
 
Example #4
Source File: MultiFileUpload.java    From mycollab with GNU Affero General Public License v3.0 4 votes vote down vote up
protected ProgressBar createProgressIndicator() {
    ProgressBar progressIndicator = new ProgressBar();
    progressIndicator.setWidth("100%");
    progressIndicator.setValue(0f);
    return progressIndicator;
}
 
Example #5
Source File: AsynchronousView.java    From chipster with MIT License 4 votes vote down vote up
public ProgressBar getProggressIndicator() {
	progressBar.setWidth(100, Unit.PERCENTAGE);
	return progressBar;
}