com.esri.arcgis.carto
Class LayerEventsHelper

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

public class LayerEventsHelper
extends Object
implements com.esri.arcgis.interop.RemoteObjRef

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
LayerEventsHelper()
          Constructs a LayerEventsHelper using ArcGIS Engine.
LayerEventsHelper(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LayerEventsHelper theLayerEventsHelper = (LayerEventsHelper) obj;
 
Method Summary
 void addILayerEventsListener(ILayerEvents theListener)
          addILayerEventsListener.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void removeILayerEventsListener(ILayerEvents theListener)
          removeILayerEventsListener.
 
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

LayerEventsHelper

public LayerEventsHelper()
                  throws IOException,
                         UnknownHostException
Constructs a LayerEventsHelper using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

LayerEventsHelper

public LayerEventsHelper(Object obj)
                  throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LayerEventsHelper theLayerEventsHelper = (LayerEventsHelper) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

addILayerEventsListener

public void addILayerEventsListener(ILayerEvents theListener)
                             throws IOException
addILayerEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.carto.ILayerEvents interface.
Throws:
IOException - If there are communications problems.

removeILayerEventsListener

public void removeILayerEventsListener(ILayerEvents theListener)
                                throws IOException
removeILayerEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.carto.ILayerEvents interface.
Throws:
IOException - If there are communications problems.