com.esri.arcgis.datasourcesraster
Class CancelListener

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.CancelListener
All Implemented Interfaces:
ICancelListener, IRasterStatusEvent2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable, java.util.EventListener

public class CancelListener
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterStatusEvent2, ICancelListener

COM Class 'CancelListener'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description 'A raster status event listener for handling cancel events.' 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.datasourcesraster.IRasterStatusEvent2
IID, IID3872f080_b932_4a24_941d_21ec0d43f0b7, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.ICancelListener
IID, IID5ab22d9c_392d_4a9e_873a_3a67abdaa9a7, xxDummy
 
Constructor Summary
CancelListener()
          Constructs a CancelListener using ArcGIS Engine.
CancelListener(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
CancelListener theCancelListener = (CancelListener) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void esri_continue(IRasterStatusEvent2Esri_continueEvent theEvent)
          Indicates whether the operation should be continued.
 ITrackCancel getCancelTracker()
          The current cancel tracker.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void message(IRasterStatusEvent2MessageEvent theEvent)
          The message of the event.
 void release()
          Release a CancelListener.
 void setCancelTrackerByRef(ITrackCancel ppCancel)
          The current cancel tracker.
 void title(IRasterStatusEvent2TitleEvent theEvent)
          The title of the event.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancelListener

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

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

CancelListener

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

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

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 CancelListener.

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

title

public void title(IRasterStatusEvent2TitleEvent theEvent)
           throws java.io.IOException,
                  AutomationException
The title of the event.

Specified by:
title in interface IRasterStatusEvent2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

message

public void message(IRasterStatusEvent2MessageEvent theEvent)
             throws java.io.IOException,
                    AutomationException
The message of the event.

Specified by:
message in interface IRasterStatusEvent2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_continue

public void esri_continue(IRasterStatusEvent2Esri_continueEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Indicates whether the operation should be continued.

Specified by:
esri_continue in interface IRasterStatusEvent2
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCancelTracker

public ITrackCancel getCancelTracker()
                              throws java.io.IOException,
                                     AutomationException
The current cancel tracker.

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

setCancelTrackerByRef

public void setCancelTrackerByRef(ITrackCancel ppCancel)
                           throws java.io.IOException,
                                  AutomationException
The current cancel tracker.

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