VLab Common 1.2

pl.psnc.vlab.util.gui.progress
Interface ProgressTask

All Known Implementing Classes:
DefaultLongTask, JStatusBar

public interface ProgressTask

ProgressTask interface - defines a set of method to deal with a long task

Author:
Dominik Stoklosa (~osa~)
Email address
osa@man.poznan.pl

Method Summary
 void hideProgress()
          Hides Progress bar
 void showProgress(boolean interminate)
          Show Progress bar
 void showProgress(java.lang.String message, boolean interminate)
          Show Progress bar with the initial message
 void updateMessage(java.lang.String... messages)
          Update current progress bar message.
 

Method Detail

showProgress

void showProgress(boolean interminate)
Show Progress bar

Parameters:
interminate - defines the behavior of the progress: interminate or not

showProgress

void showProgress(java.lang.String message,
                  boolean interminate)
Show Progress bar with the initial message

Parameters:
message - message to be displayed on the status bar
interminate - defines the behavior of the progress: interminate or not

hideProgress

void hideProgress()
Hides Progress bar


updateMessage

void updateMessage(java.lang.String... messages)
Update current progress bar message. Please note, that progress has to be turned on first

Parameters:
messages - list of messages to be displayed. Each message will be separated by white space

VLab Common 1.2

Copyright 2004 by VLAB Dominik Stoklosa.