com.esri.arcgis.systemUI
Class ComPropertySheetEventsProxyHelper

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

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

ComPropertySheetEvents proxy source helper object.

Description

Use the CommPropertySheetEventsProxyHelper to listen to the non-default outbound interface IComPropertySheetEvents on a property sheet. This is useful when developing in VB6 as VB6 can only listen to one outbound interface on a CoClass.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
ComPropertySheetEventsProxyHelper(Object obj)
          Construct a ComPropertySheetEventsProxyHelper using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIComPropertySheetEventsListener(IComPropertySheetEvents theListener)
          addIComPropertySheetEventsListener.
 boolean equals(Object o)
          Compare this object with another
 int hashCode()
          the hashcode for this object
 void removeIComPropertySheetEventsListener(IComPropertySheetEvents theListener)
          removeIComPropertySheetEventsListener.
 
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

ComPropertySheetEventsProxyHelper

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

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

Throws:
IOException - if there are interop problems ComPropertySheetEventsProxyHelper theComPropertySheetEventsProxyHelper = (ComPropertySheetEventsProxyHelper) obj;
Method Detail

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

addIComPropertySheetEventsListener

public void addIComPropertySheetEventsListener(IComPropertySheetEvents theListener)
                                        throws IOException
addIComPropertySheetEventsListener. Listen to events generated by this class.

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

removeIComPropertySheetEventsListener

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

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