| |
|
| javax.swing.JDialog com.finalist.jaggenerator.ProgressDialog
ProgressDialog | public class ProgressDialog extends javax.swing.JDialog (Code) | | ProgressDialog provides a progress bar within a dialog window and a cancel button to abort the action.
author: axel wernicke |
ProgressDialog | public ProgressDialog(java.awt.Frame parent, boolean modal)(Code) | | Creates new form ProgressDialog. The dialogue will not be visible untl
ProgressDialog.startThread is called.
Parameters: parent - frame for the dialog Parameters: modal - create dialog (a-) synchronously |
getProgressValue | public int getProgressValue()(Code) | | Gets the value of the progress bar
progress value |
interrupt | public void interrupt()(Code) | | Interrupts the worker thread (action) that dialog is attached to
|
setClipText | public void setClipText(String text)(Code) | | Sets the clip text
Parameters: text - to set |
setProgressBounds | public void setProgressBounds(int min, int max)(Code) | | Sets the progress bounds
Parameters: min - value to set Parameters: max - value to set |
setProgressIndeterminate | public void setProgressIndeterminate(boolean value)(Code) | | Sets the progress bars indeterminate status.
Parameters: value - to set |
setProgressMax | public void setProgressMax(int value)(Code) | | Sets the progress max value
Parameters: value - to set |
setProgressMin | public void setProgressMin(int value)(Code) | | Sets the minimum value of the progress bar
Parameters: value - to set |
setProgressValue | public void setProgressValue(int value)(Code) | | Sets the value of the progress bar
Parameters: value - to set |
setStatusText | public void setStatusText(String text)(Code) | | Sets the status text
Parameters: text - to set |
startThread | public void startThread(Thread worker)(Code) | | Starts up the thread that does the actual work being monitored.
Parameters: worker - thread the dialog is attached to |
|
|
|