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

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


setMaximum

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


getMinimum

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


getMaximum

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


setValue

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


getValue

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

Returns:
the current value.

setOrientation

public 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

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

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