|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.Listener
public class Listener
Provides the mechanism for the realtime feeds to notify the dynamic controller when to update the screen.
This object is a non-createable internal object that is handed out to real time workspace feature classes so they can notify the dynamic display object that new data has arrived or data has been deleted. This object is apartment neutral therefore it does not suffer from the apartment threaded woes that ArcMap restricts us to. In fact this object’s existent is due to the apartment threaded model of ArcMap.
Constructor Summary | |
---|---|
Listener(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(Object o)
Compare this object with another |
int |
hashCode()
the hashcode for this object |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public Listener(Object obj) throws IOException
obj
to Listener
. *
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
IOException
- if there are interop problems
Listener theListener = (Listener) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addData(IFeatureClass piFeatureClass, double dXMin, double dYMin, double dXMax, double dYMax) throws IOException, AutomationException
addData
in interface IListener
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeData(IFeatureClass piFeatureClass, double dXMin, double dYMin, double dXMax, double dYMax) throws IOException, AutomationException
removeData
in interface IListener
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |