com.esri.arcgis.editor
Class IEditTaskProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.editor.IEditTaskProxy
All Implemented Interfaces:
IEditTask, java.io.Externalizable, java.io.Serializable

public class IEditTaskProxy
extends com.esri.arcgis.interop.Dispatch
implements IEditTask, java.io.Serializable

Internal use class Proxy for COM Interface 'IEditTask'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriEditor.olb'

Description: 'Provides access to a task that receives notification when the sketch is complete.' 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

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.editor.IEditTask
IID, IID6d3a6f62_9115_11d1_8461_0000f875b9c6
 
Constructor Summary
  IEditTaskProxy()
          For internal use only
  IEditTaskProxy(java.lang.Object obj)
           
protected IEditTaskProxy(java.lang.Object obj, java.lang.String iid)
           
  IEditTaskProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IEditTaskProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void activate(IEditor editor, IEditTask oldTask)
          Called by the editor when the task becomes active.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void deactivate()
          Called by the editor when the task becomes inactive.
 java.lang.String getName()
          The name of the edit task.
 void onDeleteSketch()
          Notifies the task that the edit sketch has been deleted.
 void onFinishSketch()
          Notifies the task that the edit sketch is complete.
 void removeListener(java.lang.String iidStr, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IEditTaskProxy

public IEditTaskProxy(java.lang.String CLSID,
                      java.lang.String host,
                      com.esri.arcgis.interop.AuthInfo authInfo)
               throws java.net.UnknownHostException,
                      java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IEditTaskProxy

public IEditTaskProxy()
For internal use only


IEditTaskProxy

public IEditTaskProxy(java.lang.Object obj)
               throws java.io.IOException
Throws:
java.io.IOException

IEditTaskProxy

protected IEditTaskProxy(java.lang.Object obj,
                         java.lang.String iid)
                  throws java.io.IOException
Throws:
java.io.IOException

IEditTaskProxy

protected IEditTaskProxy(java.lang.String CLSID,
                         java.lang.String iid,
                         java.lang.String host,
                         com.esri.arcgis.interop.AuthInfo authInfo)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

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

removeListener

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

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the edit task.

Specified by:
getName in interface IEditTask
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

activate

public void activate(IEditor editor,
                     IEditTask oldTask)
              throws java.io.IOException,
                     AutomationException
Called by the editor when the task becomes active.

Specified by:
activate in interface IEditTask
Parameters:
editor - A reference to a com.esri.arcgis.editor.IEditor (in)
oldTask - A reference to a com.esri.arcgis.editor.IEditTask (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deactivate

public void deactivate()
                throws java.io.IOException,
                       AutomationException
Called by the editor when the task becomes inactive.

Specified by:
deactivate in interface IEditTask
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onFinishSketch

public void onFinishSketch()
                    throws java.io.IOException,
                           AutomationException
Notifies the task that the edit sketch is complete.

Specified by:
onFinishSketch in interface IEditTask
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onDeleteSketch

public void onDeleteSketch()
                    throws java.io.IOException,
                           AutomationException
Notifies the task that the edit sketch has been deleted.

Specified by:
onDeleteSketch in interface IEditTask
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.