|
|||||||||
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.framework.IProgressDialog2Proxy
public class IProgressDialog2Proxy
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().
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IProgressDialog2Proxy()
|
|
IProgressDialog2Proxy(Object obj)
|
protected |
IProgressDialog2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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 |
removeListener(String iidStr,
Object theListener)
|
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. |
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 IProgressDialog2Proxy()
public IProgressDialog2Proxy(Object obj) throws IOException
IOException
protected IProgressDialog2Proxy(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 IProgressDialog2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void hideDialog() throws IOException, AutomationException
hideDialog
in interface IProgressDialog2
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 IProgressDialog2
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 IProgressDialog2
bVal
- The bVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String status) throws IOException, AutomationException
setDescription
in interface IProgressDialog2
status
- The status (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
getDescription
in interface IProgressDialog2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
setTitle
in interface IProgressDialog2
title
- The title (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
getTitle
in interface IProgressDialog2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAnimation(int type) throws IOException, AutomationException
setAnimation
in interface IProgressDialog2
type
- A com.esri.arcgis.framework.esriProgressAnimationTypes constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
getAnimation
in interface IProgressDialog2
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 |