org.expasy.jpl.commons.base.task
Interface ProgressBar

All Known Implementing Classes:
JProgressBarAdapter, TerminalProgressBar

public interface ProgressBar

All progress bar classes will have to implements these methods.

Version:
1.0
Author:
nikitin

Method Summary
 boolean isIndeterminate()
          Return true if indeterminate
 void setIndeterminate(boolean bool)
          Sets the indeterminate property of the progress bar which determines whether the progress bar is in determinate or indeterminate mode.
 void setMaximum(int n)
          Sets the progress bar's minimum value to n
 void setMinimum(int n)
          Sets the progress bar's maximum value to n
 void setTaskName(String name)
          Set the task name (displayed in left margin)
 void setValue(int n)
          Sets the progress bar's current value to n
 

Method Detail

setTaskName

void setTaskName(String name)
Set the task name (displayed in left margin)


setValue

void setValue(int n)
Sets the progress bar's current value to n


setIndeterminate

void setIndeterminate(boolean bool)
Sets the indeterminate property of the progress bar which determines whether the progress bar is in determinate or indeterminate mode.


isIndeterminate

boolean isIndeterminate()
Return true if indeterminate


setMaximum

void setMaximum(int n)
Sets the progress bar's minimum value to n


setMinimum

void setMinimum(int n)
Sets the progress bar's maximum value to n



Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.