com.esri.arcgis.catalog
Class GxObjectArray

java.lang.Object
  extended by com.esri.arcgis.catalog.GxObjectArray
All Implemented Interfaces:
IEnumGxObject, IGxObjectArray, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GxObjectArray
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGxObjectArray, IEnumGxObject

COM Class 'GxObjectArray'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriCatalog.olb'

Description 'GxObject that represents an array of GxObjects.' 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
 
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectArray
IID, IIDb330f487_de4d_11d2_9f2f_00c04f6bc69e, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalog.IEnumGxObject
IID, IIDbdbbb3ec_d0b2_11d1_aed9_080009ec734b, xxDummy
 
Constructor Summary
GxObjectArray()
          Constructs a GxObjectArray using ArcGIS Engine.
GxObjectArray(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GxObjectArray theGxObjectArray = (GxObjectArray) obj;
 
Method Summary
 void empty()
          Removes all objects from the array.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getCount()
          The number of objects in the array.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void insert(int index, IGxObject gxObject)
          Inserts an object into the array before the specified index.
 IGxObject item(int index)
          The object at the given index in the array.
 IGxObject next()
          The next object.
 void release()
          Release a GxObjectArray.
 void remove(int index)
          Removes the object at the specified index in the array.
 void reset()
          Starts the enumeration at the beginning.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GxObjectArray

public GxObjectArray()
              throws java.io.IOException,
                     java.net.UnknownHostException
Constructs a GxObjectArray using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GxObjectArray

public GxObjectArray(java.lang.Object obj)
              throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GxObjectArray theGxObjectArray = (GxObjectArray) obj;

Construct a GxObjectArray using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GxObjectArray.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GxObjectArray.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The number of objects in the array.

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

insert

public void insert(int index,
                   IGxObject gxObject)
            throws java.io.IOException,
                   AutomationException
Inserts an object into the array before the specified index. If index is -1, the object is inserted at the end.

Specified by:
insert in interface IGxObjectArray
Parameters:
index - The index (in)
gxObject - A reference to a com.esri.arcgis.catalog.IGxObject (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes the object at the specified index in the array.

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

item

public IGxObject item(int index)
               throws java.io.IOException,
                      AutomationException
The object at the given index in the array.

Specified by:
item in interface IGxObjectArray
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.catalog.IGxObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

empty

public void empty()
           throws java.io.IOException,
                  AutomationException
Removes all objects from the array.

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

next

public IGxObject next()
               throws java.io.IOException,
                      AutomationException
The next object.

Specified by:
next in interface IEnumGxObject
Returns:
A reference to a com.esri.arcgis.catalog.IGxObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Starts the enumeration at the beginning.

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