|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.isti.util.gui.IstiDialogPopup
com.isti.util.gui.ProgressDialog
public class ProgressDialog
Class ProgressDialog is a dialog with a progress bar.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.isti.util.gui.IstiDialogPopup |
|---|
IstiDialogPopup.CloseListener |
| Field Summary | |
|---|---|
static java.lang.String |
CANCEL_STR
Name string for "Cancel" button. |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
EXIT_ON_CLOSE |
| Constructor Summary | |
|---|---|
ProgressDialog(java.awt.Component parentComp,
java.lang.String titleStr,
java.lang.String msgStr)
Creates a modal dialog with a progress bar and a "Cancel" button. |
|
ProgressDialog(java.awt.Component parentComp,
java.lang.String titleStr,
java.lang.String msgStr,
java.lang.String buttonStr,
boolean modalFlag)
Creates a dialog with a progress bar and an optional "Cancel" button. |
|
| Method Summary | |
|---|---|
java.lang.String |
getButtonString()
Returns the text string for the "Cancel" button. |
java.lang.Object |
getMessageObj()
Returns the message object displayed by this dialog. |
java.lang.String |
getMessageStr()
Returns the message string displayed by this dialog. |
ProgressIndicatorInterface |
getProgressBarObj()
Returns the progress-bar object. |
void |
setMessageObj(java.lang.Object obj)
Sets the message object displayed by this dialog. |
void |
setMessageStr(java.lang.String str)
Sets the message object displayed by this dialog to the given string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CANCEL_STR
| Constructor Detail |
|---|
public ProgressDialog(java.awt.Component parentComp,
java.lang.String titleStr,
java.lang.String msgStr)
parentComp - the parent component for the popup.titleStr - the title string for popup window.msgStr - the message string.
public ProgressDialog(java.awt.Component parentComp,
java.lang.String titleStr,
java.lang.String msgStr,
java.lang.String buttonStr,
boolean modalFlag)
parentComp - the parent component for the popup.titleStr - the title string for popup window.msgStr - the message string.buttonStr - the button string, or null to display
no buttons.modalFlag - true for modal, false for modeless (allows other
windows to run).| Method Detail |
|---|
public java.lang.String getButtonString()
public final java.lang.Object getMessageObj()
getMessageObj in interface IstiDialogInterfacegetMessageObj in class IstiDialogPopuppublic java.lang.String getMessageStr()
getMessageStr in interface IstiDialogInterfacegetMessageStr in class IstiDialogPopuppublic ProgressIndicatorInterface getProgressBarObj()
public void setMessageObj(java.lang.Object obj)
setMessageObj in interface IstiDialogInterfacesetMessageObj in class IstiDialogPopupobj - the message obj.public void setMessageStr(java.lang.String str)
setMessageStr in interface IstiDialogInterfacesetMessageStr in class IstiDialogPopupstr - the message string.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||