|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.squirrel_sql.plugins.dataimport.gui.ProgressBarDialog
public class ProgressBarDialog
This class shows a progress dialog while the file is imported.
| Constructor Summary | |
|---|---|
ProgressBarDialog()
|
|
| Method Summary | |
|---|---|
static void |
dispose()
Closes the progress dialog. |
static JDialog |
getDialog(Frame owner,
String title,
boolean modal,
ActionListener listener)
Returns the dialog |
static void |
incrementBar(int value)
Increments the progress bar by the given value |
static void |
setBarMinMax(int min,
int max)
Sets the minimum and maximum values for the dialog. |
static void |
setBarValue(int value)
Sets the value for the progress bar |
static void |
setIndeterminate()
Sets the Dialog to indeterminate. |
static void |
setMessage(String msg)
Sets the message for the progress bar dialog |
static void |
setVisible(boolean visible)
Sets the visibiility of the progress dialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressBarDialog()
| Method Detail |
|---|
public static JDialog getDialog(Frame owner,
String title,
boolean modal,
ActionListener listener)
owner - The ownertitle - The title for the dialogmodal - If this should be a modal dialoglistener - The listener for actions
public static void setMessage(String msg)
msg - The message to showpublic static void setIndeterminate()
public static void setBarMinMax(int min,
int max)
min - The minimum valuemax - The maximum valuepublic static void setBarValue(int value)
value - The current valuepublic static void incrementBar(int value)
value - The value to increment the barpublic static void setVisible(boolean visible)
visible - a boolean value indicating whether or not to make the
dialog visible.public static void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||