|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProgressDialog
Provides access to members that work with a progress dialog.
Instead of reporting the progress of an operation in the status bar of an ArcGIS application window, you can display a progress dialog box instead. The progress dialog box displays an animation and a step progress bar.
The IProgressDialogFactory::Create method to create and display a progress dialog box. Pass a CancelTracker object to the Create method to allow the user to cancel the process.
The IProgressDialog interface is the original interface for the progress dialog box. However, you should use the more recent IProgressDialog2 interface instead.
Method Summary | |
---|---|
void |
hideDialog()
Hides the progress dialog. |
boolean |
isCancelEnabled()
Indicates if the cancel button is enabled. |
void |
setCancelEnabled(boolean bVal)
Indicates if the cancel button is enabled. |
void |
showDialog()
Shows the progress dialog. |
Method Detail |
---|
void showDialog() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void hideDialog() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCancelEnabled() throws IOException, AutomationException
The CancelEnabled property specifies if the Cancel button is enabled. If CancelEnabled is set to True, you can use the Continue method on the CancelTracker object to determine if the user hit Cancel and the operations should be stopped.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCancelEnabled(boolean bVal) throws IOException, AutomationException
bVal
- The bVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |