net.sf.fmj.ejmf.toolkit.gui.controls
Interface ProgressBar

All Known Implementing Classes:
ProgressSlider

public interface ProgressBar


Method Summary
 void addChangeListener(javax.swing.event.ChangeListener l)
          Register ChangeListener with ProgressBar
 int getMaximum()
          Get maximum legal value of ProgressBar.
 int getMinimum()
          Get minimum legal value of ProgressBar.
 int getValue()
          Get current value of ProgressBar.
 void removeChangeListener(javax.swing.event.ChangeListener l)
          Remove object as ProgressBar ChangeListener
 void setMaximum(int value)
          Set maximum legal value of ProgressBar.
 void setMinimum(int value)
          Set legal minimum value of ProgressBar.
 void setValue(int value)
          Set current value of ProgressBar.
 

Method Detail

getValue

int getValue()
Get current value of ProgressBar.

Returns:
value of Slider

setValue

void setValue(int value)
Set current value of ProgressBar.

Parameters:
value - new value of Slider

getMinimum

int getMinimum()
Get minimum legal value of ProgressBar.

Returns:
minimum legal Slider value

setMinimum

void setMinimum(int value)
Set legal minimum value of ProgressBar.

Parameters:
value - legal minimum value of Slider

getMaximum

int getMaximum()
Get maximum legal value of ProgressBar.

Returns:
maximum legal Slider value

setMaximum

void setMaximum(int value)
Set maximum legal value of ProgressBar.

Parameters:
value - maximum legal value of Slider

addChangeListener

void addChangeListener(javax.swing.event.ChangeListener l)
Register ChangeListener with ProgressBar


removeChangeListener

void removeChangeListener(javax.swing.event.ChangeListener l)
Remove object as ProgressBar ChangeListener