com.esri.arcgis.system
Class ITrackCancel2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.system.ITrackCancelProxy
          extended by com.esri.arcgis.system.ITrackCancel2Proxy
All Implemented Interfaces:
ITrackCancel, ITrackCancel2, Externalizable, Serializable

public class ITrackCancel2Proxy
extends ITrackCancelProxy
implements ITrackCancel2, Serializable

Provides access to members that control the Cancel Tracker.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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
  ITrackCancel2Proxy()
           
  ITrackCancel2Proxy(Object obj)
           
protected ITrackCancel2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getTimeout()
          The time out in ms interval for a lengthy operation.
 void removeListener(String iidStr, Object theListener)
           
 void setTimeout(int timeoutMS)
          The time out in ms interval for a lengthy operation.
 void trackMouseMove(boolean bYesNo)
          Turns on/off tracking of mouse movements.
 void trackNavigationKeys(boolean bYesNo)
          Turns on/off tracking of navigation keys.
 
Methods inherited from class com.esri.arcgis.system.ITrackCancelProxy
cancel, esri_continue, getCheckTime, getProgressor, isCancelOnClick, isCancelOnKeyPress, isProcessMessages, isTimerFired, reset, setCancelOnClick, setCancelOnKeyPress, setCheckTime, setProcessMessages, setProgressor, startTimer, stopTimer
 
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
 
Methods inherited from interface com.esri.arcgis.system.ITrackCancel
cancel, esri_continue, getCheckTime, getProgressor, isCancelOnClick, isCancelOnKeyPress, isProcessMessages, isTimerFired, reset, setCancelOnClick, setCancelOnKeyPress, setCheckTime, setProcessMessages, setProgressor, startTimer, stopTimer
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ITrackCancel2Proxy

public ITrackCancel2Proxy()

ITrackCancel2Proxy

public ITrackCancel2Proxy(Object obj)
                   throws IOException
Throws:
IOException

ITrackCancel2Proxy

protected ITrackCancel2Proxy(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 ITrackCancelProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class ITrackCancelProxy
Throws:
IOException

setTimeout

public void setTimeout(int timeoutMS)
                throws IOException,
                       AutomationException
The time out in ms interval for a lengthy operation. The negative value means no timeout.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getTimeout

public int getTimeout()
               throws IOException,
                      AutomationException
The time out in ms interval for a lengthy operation. The negative value means no timeout.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getTimeout in interface ITrackCancel2
Returns:
The timeoutMS
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

trackMouseMove

public void trackMouseMove(boolean bYesNo)
                    throws IOException,
                           AutomationException
Turns on/off tracking of mouse movements. If bYesNo is true, the cancel is triggered by the mouse move.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

trackNavigationKeys

public void trackNavigationKeys(boolean bYesNo)
                         throws IOException,
                                AutomationException
Turns on/off tracking of navigation keys. If bYesNo is true, the cancel is triggered by the navigation key press.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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