|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.systemUI.IProgressDialogProxy
public class IProgressDialogProxy
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.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IProgressDialogProxy()
|
|
IProgressDialogProxy(Object obj)
|
protected |
IProgressDialogProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
hideDialog()
Hides the progress dialog. |
boolean |
isCancelEnabled()
Indicates if the cancel button is enabled. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setCancelEnabled(boolean bVal)
Indicates if the cancel button is enabled. |
void |
showDialog()
Shows the progress dialog. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IProgressDialogProxy()
public IProgressDialogProxy(Object obj) throws IOException
IOException
protected IProgressDialogProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void showDialog() throws IOException, AutomationException
showDialog
in interface IProgressDialog
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void hideDialog() throws IOException, AutomationException
hideDialog
in interface IProgressDialog
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
isCancelEnabled
in interface IProgressDialog
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCancelEnabled(boolean bVal) throws IOException, AutomationException
setCancelEnabled
in interface IProgressDialog
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 |