com.esri.arcgis.carto
Class TrackCancel

java.lang.Object
  extended by com.esri.arcgis.carto.TrackCancel
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ITrackCancel, java.io.Serializable

public class TrackCancel
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITrackCancel

COM Class 'TrackCancel'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'A CancelTracker for use in Server Context.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.ITrackCancel
IID, IID34c20005_4d3c_11d0_92d8_00805f7c28b0, xxDummy
 
Constructor Summary
TrackCancel()
          Constructs a TrackCancel using ArcGIS Engine.
TrackCancel(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TrackCancel theTrackCancel = (TrackCancel) obj;
 
Method Summary
 void cancel()
          Cancels the associated operation.
 boolean equals(java.lang.Object o)
          Compare this object with another
 boolean esri_continue()
          Called frequently while associated operation is progressing.
 int getCheckTime()
          The interval at which the operation will be interrupted to advance progressors and process messages.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IProgressor getProgressor()
          The progressor used to show progress during lengthy operations.
 int hashCode()
          the hashcode for this object
 boolean isCancelOnClick()
          Indicates whether mouse clicks should cancel the operation.
 boolean isCancelOnKeyPress()
          Indicates whether the escape key and spacebar should cancel the operation.
 boolean isProcessMessages()
          An obsolete method.
 boolean isTimerFired()
          An obsolete method.
 void release()
          Release a TrackCancel.
 void reset()
          Resets the manager after the associated operation is finished.
 void setCancelOnClick(boolean pCancelOnClick)
          Indicates whether mouse clicks should cancel the operation.
 void setCancelOnKeyPress(boolean pCancelOnKeyPress)
          Indicates whether the escape key and spacebar should cancel the operation.
 void setCheckTime(int milliseconds)
          The interval at which the operation will be interrupted to advance progressors and process messages.
 void setProcessMessages(boolean processMessages)
          An obsolete method.
 void setProgressor(IProgressor progressor)
          The progressor used to show progress during lengthy operations.
 void startTimer(int hWnd, int milliseconds)
          An obsolete method.
 void stopTimer()
          An obsolete method.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackCancel

public TrackCancel()
            throws java.io.IOException,
                   java.net.UnknownHostException
Constructs a TrackCancel using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

TrackCancel

public TrackCancel(java.lang.Object obj)
            throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TrackCancel theTrackCancel = (TrackCancel) obj;

Construct a TrackCancel using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TrackCancel.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a TrackCancel.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setCheckTime

public void setCheckTime(int milliseconds)
                  throws java.io.IOException,
                         AutomationException
The interval at which the operation will be interrupted to advance progressors and process messages.

Specified by:
setCheckTime in interface ITrackCancel
Parameters:
milliseconds - The milliseconds (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCheckTime

public int getCheckTime()
                 throws java.io.IOException,
                        AutomationException
The interval at which the operation will be interrupted to advance progressors and process messages.

Specified by:
getCheckTime in interface ITrackCancel
Returns:
The milliseconds
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProgressor

public void setProgressor(IProgressor progressor)
                   throws java.io.IOException,
                          AutomationException
The progressor used to show progress during lengthy operations.

Specified by:
setProgressor in interface ITrackCancel
Parameters:
progressor - A reference to a com.esri.arcgis.system.IProgressor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProgressor

public IProgressor getProgressor()
                          throws java.io.IOException,
                                 AutomationException
The progressor used to show progress during lengthy operations.

Specified by:
getProgressor in interface ITrackCancel
Returns:
A reference to a com.esri.arcgis.system.IProgressor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

cancel

public void cancel()
            throws java.io.IOException,
                   AutomationException
Cancels the associated operation.

Specified by:
cancel in interface ITrackCancel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Resets the manager after the associated operation is finished.

Specified by:
reset in interface ITrackCancel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_continue

public boolean esri_continue()
                      throws java.io.IOException,
                             AutomationException
Called frequently while associated operation is progressing. A return value of false indicates that the operation should stop.

Specified by:
esri_continue in interface ITrackCancel
Returns:
The keepGoing
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProcessMessages

public void setProcessMessages(boolean processMessages)
                        throws java.io.IOException,
                               AutomationException
An obsolete method.

Specified by:
setProcessMessages in interface ITrackCancel
Parameters:
processMessages - The processMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isProcessMessages

public boolean isProcessMessages()
                          throws java.io.IOException,
                                 AutomationException
An obsolete method.

Specified by:
isProcessMessages in interface ITrackCancel
Returns:
The processMessages
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startTimer

public void startTimer(int hWnd,
                       int milliseconds)
                throws java.io.IOException,
                       AutomationException
An obsolete method.

Specified by:
startTimer in interface ITrackCancel
Parameters:
hWnd - The hWnd (in)
milliseconds - The milliseconds (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isTimerFired

public boolean isTimerFired()
                     throws java.io.IOException,
                            AutomationException
An obsolete method.

Specified by:
isTimerFired in interface ITrackCancel
Returns:
The timerFired
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopTimer

public void stopTimer()
               throws java.io.IOException,
                      AutomationException
An obsolete method.

Specified by:
stopTimer in interface ITrackCancel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCancelOnClick

public boolean isCancelOnClick()
                        throws java.io.IOException,
                               AutomationException
Indicates whether mouse clicks should cancel the operation.

Specified by:
isCancelOnClick in interface ITrackCancel
Returns:
The pCancelOnClick
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCancelOnClick

public void setCancelOnClick(boolean pCancelOnClick)
                      throws java.io.IOException,
                             AutomationException
Indicates whether mouse clicks should cancel the operation.

Specified by:
setCancelOnClick in interface ITrackCancel
Parameters:
pCancelOnClick - The pCancelOnClick (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCancelOnKeyPress

public boolean isCancelOnKeyPress()
                           throws java.io.IOException,
                                  AutomationException
Indicates whether the escape key and spacebar should cancel the operation.

Specified by:
isCancelOnKeyPress in interface ITrackCancel
Returns:
The pCancelOnKeyPress
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCancelOnKeyPress

public void setCancelOnKeyPress(boolean pCancelOnKeyPress)
                         throws java.io.IOException,
                                AutomationException
Indicates whether the escape key and spacebar should cancel the operation.

Specified by:
setCancelOnKeyPress in interface ITrackCancel
Parameters:
pCancelOnKeyPress - The pCancelOnKeyPress (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.