public class ProgressDialog extends IstiDialogPopup
IstiDialogPopup.CloseListener| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CANCEL_STR
Name string for "Cancel" button.
|
CANCEL_OPTION, CLOSED_OPTION, DEFAULT_OPTION, DISPOSE_ON_CLOSE, disposeDialogOnButtonFlag, dlgObj, DO_NOTHING_ON_CLOSE, enforceDispatchThreadFlag, ERROR_MESSAGE, HIDE_ON_CLOSE, hideDialogOnButtonFlag, INFORMATION_MESSAGE, initialFocusCompObj, initialFocusFlag, maxHeightLimitFlag, messageString, NO_AUTOBUTTONS_OPTION, NO_OPTION, OK_CANCEL_OPTION, OK_OPTION, optionsArr, packNeededFlag, paneObj, parentHeightLimitFlag, PLAIN_MESSAGE, QUESTION_MESSAGE, repackCheckLocationObj, repackNeededFlag, staticEnforceDispatchThreadFlag, staticMaxHeightLimitFlag, staticParentHeightLimitFlag, waitingForShowFlag, WARNING_MESSAGE, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addCloseListener, addComponentListener, addPropertyChangeListener, addPropertyChangeListener, addWindowListener, allowDialogClose, allowDialogClose, close, close, closeWithWait, closeWithWait, createDialog, createDialog, dispose, doDelayedRepack, doPack, doSetDialogVisible, doSetVisible, getBackground, getDialogObj, getDisposeDialogOnButtonFlag, getEnforceDispatchThreadFlag, getForeground, getHideDialogOnButtonFlag, getInputValue, getMaxHeightLimit, getOptionPaneObj, getParentHeightLimit, getPreferredSize, getRepackNeededFlag, getStaticEnforceDispatchThreadFlag, getStaticMaxHeightLimit, getStaticParentHeightLimit, getTitleStr, getUserMessageString, getValue, getWindowForComponent, hide, invalidate, isClosed, isModal, isShowIfNotClosed, isShowing, isVisible, pack, removeCloseListener, removeComponentListener, removePropertyChangeListener, removePropertyChangeListener, removeWindowListener, repaint, requestFocus, selectAndShow, setBackground, setDefaultCloseOperation, setDisposeDialogOnButtonFlag, setEnforceDispatchThreadFlag, setForeground, setHideDialogOnButtonFlag, setInitialFocus, setInitialFocusComponent, setLocation, setLocation, setLocationRelativeTo, setMaxHeightLimit, setMinimumSize, setModal, setOptionPaneValue, setParentHeightLimit, setPreferredSize, setRepackNeededFlag, setResizable, setShowIfNotClosed, setSize, setSize, setStaticEnforceDispatchThreadFlag, setStaticMaxHeightLimit, setStaticParentHeightLimit, setTitleStr, setUserMessageString, setVisible, setVisibleViaInvokeLater, show, showAndReturnIndex, showAndWait, showMessageDialog, showMessageDialog, showOptionDialog, showOptionDialog, showOptionDialog, showOptionDialog, showOptionDialog, showOptionDialog, showOptionDialog, showOptionDialog, validate, waitForDialogVisiblepublic static final java.lang.String CANCEL_STR
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).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.