com.isti.util.gui
Class ProgressDialog
java.lang.Object
com.isti.util.gui.IstiDialogPopup
com.isti.util.gui.ProgressDialog
- All Implemented Interfaces:
- IstiDialogInterface, javax.swing.WindowConstants
- public class ProgressDialog
- extends IstiDialogPopup
Class ProgressDialog is a dialog with a progress bar.
Field Summary |
static java.lang.String |
CANCEL_STR
Name string for "Cancel" button. |
Fields inherited from class com.isti.util.gui.IstiDialogPopup |
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, messageString, NO_AUTOBUTTONS_OPTION, NO_OPTION, OK_CANCEL_OPTION, OK_OPTION, optionsArr, paneObj, parentHeightLimitFlag, PLAIN_MESSAGE, QUESTION_MESSAGE, repackCheckLocationObj, repackNeededFlag, staticEnforceDispatchThreadFlag, staticParentHeightLimitFlag, waitingForShowFlag, WARNING_MESSAGE, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION |
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. |
Methods inherited from class com.isti.util.gui.IstiDialogPopup |
addCloseListener, addComponentListener, addPropertyChangeListener, addPropertyChangeListener, addWindowListener, allowDialogClose, allowDialogClose, close, close, closeWithWait, closeWithWait, createDialog, createDialog, dispose, doDelayedRepack, doSetVisible, getBackground, getDialogObj, getDisposeDialogOnButtonFlag, getEnforceDispatchThreadFlag, getForeground, getHideDialogOnButtonFlag, getInputValue, getMessageObj, getMessageStr, getOptionPaneObj, getParentHeightLimit, getRepackNeededFlag, getStaticEnforceDispatchThreadFlag, getStaticParentHeightLimit, getTitleStr, getUserMessageString, getValue, getWindowForComponent, hide, invalidate, isModal, isShowing, isVisible, pack, removeCloseListener, removeComponentListener, removePropertyChangeListener, removePropertyChangeListener, removeWindowListener, repaint, requestFocus, selectAndShow, setBackground, setDefaultCloseOperation, setDisposeDialogOnButtonFlag, setEnforceDispatchThreadFlag, setForeground, setHideDialogOnButtonFlag, setInitialFocus, setInitialFocusComponent, setLocation, setLocation, setLocationRelativeTo, setMessageObj, setMessageStr, setModal, setOptionPaneValue, setParentHeightLimit, setRepackNeededFlag, setResizable, setSize, setSize, setStaticEnforceDispatchThreadFlag, setStaticParentHeightLimit, setTitleStr, setUserMessageString, setVisible, setVisibleViaInvokeLater, show, showAndReturnIndex, showAndWait, showMessageDialog, showMessageDialog, showOptionDialog, showOptionDialog, showOptionDialog, showOptionDialog, showOptionDialog, showOptionDialog, showOptionDialog, showOptionDialog, validate, waitForDialogVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CANCEL_STR
public static final java.lang.String CANCEL_STR
- Name string for "Cancel" button.
- See Also:
- Constant Field Values
ProgressDialog
public 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.
- Parameters:
parentComp
- the parent component for the popup.titleStr
- the title string for popup window.msgStr
- the message string.
ProgressDialog
public 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.
- Parameters:
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).
getButtonString
public java.lang.String getButtonString()
- Returns the text string for the "Cancel" button.
- Returns:
- The text string for the "Cancel" button.
getProgressBarObj
public ProgressIndicatorInterface getProgressBarObj()
- Returns the progress-bar object.
- Returns:
- The progress-bar object.