| java.lang.Object net.sourceforge.squirrel_sql.plugins.dataimport.gui.ProgressBarDialog
ProgressBarDialog | public class ProgressBarDialog (Code) | | This class shows a progress dialog while the file is imported.
author: Thorsten Mürell |
dispose | public static void dispose()(Code) | | Closes the progress dialog.
|
getDialog | public static JDialog getDialog(Frame owner, String title, boolean modal, ActionListener listener)(Code) | | Returns the dialog
Parameters: owner - The owner Parameters: title - The title for the dialog Parameters: modal - If this should be a modal dialog Parameters: listener - The listener for actions The dialog to show |
incrementBar | public static void incrementBar(int value)(Code) | | Increments the progress bar by the given value
Parameters: value - The value to increment the bar |
setBarMinMax | public static void setBarMinMax(int min, int max)(Code) | | Sets the minimum and maximum values for the dialog.
Parameters: min - The minimum value Parameters: max - The maximum value |
setBarValue | public static void setBarValue(int value)(Code) | | Sets the value for the progress bar
Parameters: value - The current value |
setIndeterminate | public static void setIndeterminate()(Code) | | Sets the Dialog to indeterminate.
Use this, when you do not know the number
of items to process.
|
setMessage | public static void setMessage(String msg)(Code) | | Sets the message for the progress bar dialog
Parameters: msg - The message to show |
setVisible | public static void setVisible(boolean visible)(Code) | | Sets the visibiility of the progress dialog
Parameters: visible - a boolean value indicating whether or not to make the dialog visible. |
|
|