com.esri.arcgis.carto
Class MapEvents2

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

public class MapEvents2
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef

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

Description 'Map events. Note: this class only provides access to the IMapEvents2 outbound interface.' 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

Constructor Summary
MapEvents2()
          Constructs a MapEvents2 using ArcGIS Engine.
MapEvents2(java.lang.Object obj)
          Construct a MapEvents2 using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIMapEvents2Listener(IMapEvents2 theListener)
          addIMapEvents2Listener.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a MapEvents2.
 void removeIMapEvents2Listener(IMapEvents2 theListener)
          removeIMapEvents2Listener.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapEvents2

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

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

MapEvents2

public MapEvents2(java.lang.Object obj)
           throws java.io.IOException
Construct a MapEvents2 using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to MapEvents2.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems MapEvents2 theMapEvents2 = (MapEvents2) obj;
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

addIMapEvents2Listener

public void addIMapEvents2Listener(IMapEvents2 theListener)
                            throws java.io.IOException
addIMapEvents2Listener. Listen to events generated by this class.

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

removeIMapEvents2Listener

public void removeIMapEvents2Listener(IMapEvents2 theListener)
                               throws java.io.IOException
removeIMapEvents2Listener. Stop listening to events generated by this class.

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

release

public void release()
Release a MapEvents2.

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