|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProgressDialog2
Provides access to members that work with a progress dialog.
The IProgressDialog2 interface has methods for hiding and showing the progress dialog box.
Use the IProgressDialogFactory.Create method to create the progress dialog box.
The example code below shows how to use progress dialog. You would get m_app from the hook in ICommand::OnCreate().
Method Summary | |
---|---|
int |
getAnimation()
The animation type displayed in the dialog. |
String |
getDescription()
The description displayed in the dialog. |
String |
getTitle()
The caption displayed in the dialog. |
void |
hideDialog()
Hides the progress dialog. |
boolean |
isCancelEnabled()
Indicates if the Cancel button is enabled. |
void |
setAnimation(int type)
The animation type displayed in the dialog. |
void |
setCancelEnabled(boolean bVal)
Indicates if the Cancel button is enabled. |
void |
setDescription(String status)
The description displayed in the dialog. |
void |
setTitle(String title)
The caption displayed in the dialog. |
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.void setDescription(String status) throws IOException, AutomationException
status
- The status (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDescription() throws IOException, AutomationException
The Description property can be used to provide the user with information about the process that the dialog box is tracking.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTitle(String title) throws IOException, AutomationException
The Title property can be used to provide the user with information about the process that the dialog box is tracking.
title
- The title (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getTitle() throws IOException, AutomationException
The Title property can be used to provide the user with information about the process that the dialog box is tracking.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAnimation(int type) throws IOException, AutomationException
type
- A com.esri.arcgis.framework.esriProgressAnimationTypes constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getAnimation() throws IOException, AutomationException
The Animation property specifies the type of animation displayed in the dialog box. The animation in the dialog box can either be the spinning globe animation or the downloading file animation.
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 |