com.esri.arcgis.trackinganalyst
Class Listener

java.lang.Object
  extended by com.esri.arcgis.trackinganalyst.Listener
All Implemented Interfaces:
IListener, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class Listener
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IListener

COM Class 'Listener'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriTrackingAnalyst.olb'

Description 'Provides the mechanism for the realtime feeds to notify the dynamic controller when to update the screen.' 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.geodatabaseextensions.IListener
IID, IIDd890e524_dab5_11d5_b811_00010265adc5, xxDummy
 
Constructor Summary
Listener(java.lang.Object obj)
          Construct a Listener using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addData(IFeatureClass piFeatureClass, double dXMin, double dYMin, double dXMax, double dYMax)
          Adds data to the display controller.
 boolean equals(java.lang.Object o)
          Compare this object with another
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a Listener.
 void removeData(IFeatureClass piFeatureClass, double dXMin, double dYMin, double dXMax, double dYMax)
          Removes data from the display controller.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Listener

public Listener(java.lang.Object obj)
         throws java.io.IOException
Construct a Listener using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to Listener.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
Listener o = (Listener)obj; // will not work

Listener o = new Listener(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems Listener theListener = (Listener) obj;
Method Detail

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

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

addData

public void addData(IFeatureClass piFeatureClass,
                    double dXMin,
                    double dYMin,
                    double dXMax,
                    double dYMax)
             throws java.io.IOException,
                    AutomationException
Adds data to the display controller.

Specified by:
addData in interface IListener
Parameters:
piFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
dXMin - The dXMin (in)
dYMin - The dYMin (in)
dXMax - The dXMax (in)
dYMax - The dYMax (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeData

public void removeData(IFeatureClass piFeatureClass,
                       double dXMin,
                       double dYMin,
                       double dXMax,
                       double dYMax)
                throws java.io.IOException,
                       AutomationException
Removes data from the display controller.

Specified by:
removeData in interface IListener
Parameters:
piFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
dXMin - The dXMin (in)
dYMin - The dYMin (in)
dXMax - The dXMax (in)
dYMax - The dYMax (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.