com.isti.util
Interface ProgressIndicatorInterface

All Known Implementing Classes:
JProgBarIndicator, ManagedJProgressBar

public interface ProgressIndicatorInterface

Interface ProgressIndicatorInterface defines the methods used to operate a 'JProgressBar' object. Other objects may use this interface to optionally operate a progress bar without having to reference the 'JProgressBar' class.


Method Summary
 int getMaximum()
          Returns the maximum value for the progress indicator.
 int getMinimum()
          Returns the minimum value for the progress indicator.
 int getOrientation()
          Returns the orientation for the progress indicator.
 int getValue()
          Returns the value for the progress indicator.
 void setMaximum(int val)
          Sets the maximum value for the progress indicator.
 void setMinimum(int val)
          Sets the minimum value for the progress indicator.
 void setOrientation(int newOrientation)
          Sets the orientation for the progress indicator.
 void setValue(int val)
          Sets the value for the progress indicator.
 

Method Detail

setMinimum

void setMinimum(int val)
Sets the minimum value for the progress indicator.


setMaximum

void setMaximum(int val)
Sets the maximum value for the progress indicator.


getMinimum

int getMinimum()
Returns the minimum value for the progress indicator.


getMaximum

int getMaximum()
Returns the maximum value for the progress indicator.


setValue

void setValue(int val)
Sets the value for the progress indicator.

Parameters:
the - value to set.

getValue

int getValue()
Returns the value for the progress indicator.

Returns:
the current value.

setOrientation

void setOrientation(int newOrientation)
Sets the orientation for the progress indicator.

Parameters:
newOrientation - a value indicating the orientation (usually JProgressBar.VERTICAL or JProgressBar.HORIZONTAL).

getOrientation

int getOrientation()
Returns the orientation for the progress indicator.

Returns:
A value indicating the orientation (usually JProgressBar.VERTICAL or JProgressBar.HORIZONTAL).