| java.lang.Object org.dbbrowser.ui.widget.ProgressDialog
ProgressDialog | public class ProgressDialog implements ChangeListener(Code) | | A dialog which shows the progress of a task and some label
|
ProgressDialog | public ProgressDialog(String title, String textForLabel, Integer minValue, Integer maxValue)(Code) | | Constructer
Parameters: title - Parameters: textForLabel - Parameters: minValue - Parameters: maxValue - |
close | public void close()(Code) | | Call this method to close the progress bar when the task is completed
|
getMaxValue | public Integer getMaxValue()(Code) | | Returns the maximum value for the progress of the task
|
getMinValue | public Integer getMinValue()(Code) | | Returns the starting(min) value
|
setIndeterminate | public void setIndeterminate(boolean b)(Code) | | Set to true to make it an indeterminate progress bar
Parameters: b - |
setStringPainted | public void setStringPainted(boolean b)(Code) | | Set true if you want to see the labels
Parameters: b - |
setValue | public void setValue(Integer newValue)(Code) | | Call this method to set the value during the progress of the task.
Parameters: newValue - |
show | public void show()(Code) | | Shows the progress bar
|
stateChanged | public void stateChanged(ChangeEvent e)(Code) | | Call this during the progress of the task. This calls setValue as well. Call this method if it is a determinate progress bar
Parameters: e - |
|
|