com.esri.arcgis.editor
Class INotifyZFinalizeProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.editor.INotifyZFinalizeProxy
All Implemented Interfaces:
INotifyZFinalize, Externalizable, Serializable

public class INotifyZFinalizeProxy
extends com.esri.arcgis.interop.Dispatch
implements INotifyZFinalize, Serializable

Provides access to a callback method the Editor will call if Z Attribution of a geometry fails.

Description

This interface is new at ArcGIS 9.3.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  INotifyZFinalizeProxy()
           
  INotifyZFinalizeProxy(Object obj)
           
protected INotifyZFinalizeProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean failed(IGeometry geometry)
          Callback is called when Z Capture fails, allows client an opportunity to set a custom Z.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

INotifyZFinalizeProxy

public INotifyZFinalizeProxy()

INotifyZFinalizeProxy

public INotifyZFinalizeProxy(Object obj)
                      throws IOException
Throws:
IOException

INotifyZFinalizeProxy

protected INotifyZFinalizeProxy(Object obj,
                                String iid)
                         throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

failed

public boolean failed(IGeometry geometry)
               throws IOException,
                      AutomationException
Callback is called when Z Capture fails, allows client an opportunity to set a custom Z.

Remarks

When a point is added to the sketch, if the result is non-simple then the Failed method of the class implementing INotifyZFinalize and hooked into IEditProperties4::NotifyZFinalize is given an opportunity to manipulate the Z values. If the client implementing this interface alters the geometry, they should return TRUE; if the value returned is FALSE then any changes made to the geometry in this method will be discarded.

Product Availability

Available with ArcGIS Desktop.

Specified by:
failed in interface INotifyZFinalize
Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
The handled
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.