com.esri.arcgis.addinframework
Class IRequestProgressProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.addinframework.IRequestProgressProxy
All Implemented Interfaces:
IRequestProgress, Externalizable, Serializable

public class IRequestProgressProxy
extends com.esri.arcgis.interop.Dispatch
implements IRequestProgress, Serializable

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IRequestProgressProxy()
           
  IRequestProgressProxy(Object obj)
           
protected IRequestProgressProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void removeListener(String iidStr, Object theListener)
           
 void showProgress(String caption, int timeEstimate, boolean enableCancelButton)
          Shows the progress dialog while this request is executing.
 void updateMessage(String message)
          Updates the message shown in the progress dialog.
 void updateStatus(String status)
          Updates the status message shown in the progress dialog.
 void updateTime(int timeInSeconds)
          Updates the estimated remaining time displayed on 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

noncastable

public boolean noncastable
Constructor Detail

IRequestProgressProxy

public IRequestProgressProxy()

IRequestProgressProxy

public IRequestProgressProxy(Object obj)
                      throws IOException
Throws:
IOException

IRequestProgressProxy

protected IRequestProgressProxy(Object obj,
                                String iid)
                         throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

showProgress

public void showProgress(String caption,
                         int timeEstimate,
                         boolean enableCancelButton)
                  throws IOException,
                         AutomationException
Shows the progress dialog while this request is executing.

Specified by:
showProgress in interface IRequestProgress
Parameters:
caption - The caption (in)
timeEstimate - The timeEstimate (in)
enableCancelButton - The enableCancelButton (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateMessage

public void updateMessage(String message)
                   throws IOException,
                          AutomationException
Updates the message shown in the progress dialog.

Specified by:
updateMessage in interface IRequestProgress
Parameters:
message - The message (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateStatus

public void updateStatus(String status)
                  throws IOException,
                         AutomationException
Updates the status message shown in the progress dialog.

Specified by:
updateStatus in interface IRequestProgress
Parameters:
status - The status (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateTime

public void updateTime(int timeInSeconds)
                throws IOException,
                       AutomationException
Updates the estimated remaining time displayed on the progress dialog.

Specified by:
updateTime in interface IRequestProgress
Parameters:
timeInSeconds - The timeInSeconds (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.