com.esri.arcgis.datasourcesfile
Class IArcInfoItemsEditProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.datasourcesfile.IArcInfoItemsProxy
          extended bycom.esri.arcgis.datasourcesfile.IArcInfoItemsEditProxy
All Implemented Interfaces:
java.io.Externalizable, IArcInfoItems, IArcInfoItemsEdit, java.io.Serializable

public class IArcInfoItemsEditProxy
extends IArcInfoItemsProxy
implements IArcInfoItemsEdit, java.io.Serializable

Provides access to members that create the ArcInfo Items Collection.

Product Availability

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

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  IArcInfoItemsEditProxy()
          For internal use only
  IArcInfoItemsEditProxy(java.lang.Object obj)
           
protected IArcInfoItemsEditProxy(java.lang.Object obj, java.lang.String iid)
           
  IArcInfoItemsEditProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IArcInfoItemsEditProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addItem(IArcInfoItem item)
          Adds an Item to the Items Collection.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Adds a Java object to be a listener for a specific kind of event generated by the COM object.
 void deleteAllItems()
          Deletes all the Items from the Items Collection.
 void deleteItem(IArcInfoItem item)
          Deletes an Item from the Items Collection.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 void setItem(int index, IArcInfoItem rhs2)
          Item at the specified position.
 void setItemCount(int rhs1)
          Number of Items in this Item Collection.
 
Methods inherited from class com.esri.arcgis.datasourcesfile.IArcInfoItemsProxy
findItem, getItem, getItemCount
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.datasourcesfile.IArcInfoItems
findItem, getItem, getItemCount
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IArcInfoItemsEditProxy

public IArcInfoItemsEditProxy(java.lang.String CLSID,
                              java.lang.String host,
                              AuthInfo authInfo)
                       throws java.net.UnknownHostException,
                              java.io.IOException

IArcInfoItemsEditProxy

public IArcInfoItemsEditProxy()
For internal use only


IArcInfoItemsEditProxy

public IArcInfoItemsEditProxy(java.lang.Object obj)
                       throws java.io.IOException

IArcInfoItemsEditProxy

protected IArcInfoItemsEditProxy(java.lang.Object obj,
                                 java.lang.String iid)
                          throws java.io.IOException

IArcInfoItemsEditProxy

protected IArcInfoItemsEditProxy(java.lang.String CLSID,
                                 java.lang.String iid,
                                 java.lang.String host,
                                 AuthInfo authInfo)
                          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
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class IArcInfoItemsProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class IArcInfoItemsProxy
Throws:
java.io.IOException

setItemCount

public void setItemCount(int rhs1)
                  throws java.io.IOException,
                         AutomationException
Description copied from interface: IArcInfoItemsEdit
Number of Items in this Item Collection.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setItemCount in interface IArcInfoItemsEdit
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setItem

public void setItem(int index,
                    IArcInfoItem rhs2)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IArcInfoItemsEdit
Item at the specified position.

Supported Platforms

Windows, Solaris, Linux

Specified by:
setItem in interface IArcInfoItemsEdit
Parameters:
index - The index (in)
rhs2 - A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItem (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addItem

public void addItem(IArcInfoItem item)
             throws java.io.IOException,
                    AutomationException
Description copied from interface: IArcInfoItemsEdit
Adds an Item to the Items Collection.

Supported Platforms

Windows, Solaris, Linux

Specified by:
addItem in interface IArcInfoItemsEdit
Parameters:
item - A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItem (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteItem

public void deleteItem(IArcInfoItem item)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IArcInfoItemsEdit
Deletes an Item from the Items Collection.

Supported Platforms

Windows, Solaris, Linux

Specified by:
deleteItem in interface IArcInfoItemsEdit
Parameters:
item - A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItem (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteAllItems

public void deleteAllItems()
                    throws java.io.IOException,
                           AutomationException
Description copied from interface: IArcInfoItemsEdit
Deletes all the Items from the Items Collection.

Supported Platforms

Windows, Solaris, Linux

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