com.esri.arcgis.carto
Class GraphicsContainerEvents

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

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

Helper coclass for working with the nondefault outbound IGraphicsContainerEvents interface in VB.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
GraphicsContainerEvents()
          Constructs a GraphicsContainerEvents using ArcGIS Engine.
GraphicsContainerEvents(Object obj)
          Construct a GraphicsContainerEvents using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIGraphicsContainerEventsListener(IGraphicsContainerEvents theListener)
          addIGraphicsContainerEventsListener.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void removeIGraphicsContainerEventsListener(IGraphicsContainerEvents theListener)
          removeIGraphicsContainerEventsListener.
 
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

GraphicsContainerEvents

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

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

GraphicsContainerEvents

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

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

addIGraphicsContainerEventsListener

public void addIGraphicsContainerEventsListener(IGraphicsContainerEvents theListener)
                                         throws IOException
addIGraphicsContainerEventsListener. Listen to events generated by this class.

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

removeIGraphicsContainerEventsListener

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

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