com.esri.arcgis.datasourcesfile
Class ISMPointsCollectionProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesfile.ISMPointsCollectionProxy
All Implemented Interfaces:
ISMPointsCollection, Externalizable, Serializable

public class ISMPointsCollectionProxy
extends com.esri.arcgis.interop.Dispatch
implements ISMPointsCollection, Serializable

Provides access to the collection of geographic points.

Description

Represents the collection of geographic points.

Product Availability

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

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
  ISMPointsCollectionProxy()
           
  ISMPointsCollectionProxy(Object obj)
           
protected ISMPointsCollectionProxy(Object obj, String iid)
           
 
Method Summary
 void add(ISMRouterPoint pItem)
          Adds a point to the end of the collection.
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void clear()
          Removes all points from the collection.
 int getCount()
          Number of points in the collection.
 ISMRouterPoint getItem(int position)
          Represents the point in the collection at the specified position.
 void insert(int position, ISMRouterPoint pItem)
          Inserts a point in the collection at the specified position.
 void remove(int position)
          Removes a point from the collection at the specified position.
 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

ISMPointsCollectionProxy

public ISMPointsCollectionProxy()

ISMPointsCollectionProxy

public ISMPointsCollectionProxy(Object obj)
                         throws IOException
Throws:
IOException

ISMPointsCollectionProxy

protected ISMPointsCollectionProxy(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

getCount

public int getCount()
             throws IOException,
                    AutomationException
Number of points in the collection.

Description

Returns the number of points in the collection.

Product Availability

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

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

getItem

public ISMRouterPoint getItem(int position)
                       throws IOException,
                              AutomationException
Represents the point in the collection at the specified position.

Product Availability

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

Specified by:
getItem in interface ISMPointsCollection
Parameters:
position - The position (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(ISMRouterPoint pItem)
         throws IOException,
                AutomationException
Adds a point to the end of the collection.

Description

Adds the point to the collection.

Product Availability

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

Specified by:
add in interface ISMPointsCollection
Parameters:
pItem - A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public void insert(int position,
                   ISMRouterPoint pItem)
            throws IOException,
                   AutomationException
Inserts a point in the collection at the specified position.

Description

Inserts the point to the collection at a specified position.

Product Availability

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

Specified by:
insert in interface ISMPointsCollection
Parameters:
position - The position (in)
pItem - A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int position)
            throws IOException,
                   AutomationException
Removes a point from the collection at the specified position.

Description

Removes the point from the collection.

Product Availability

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

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

clear

public void clear()
           throws IOException,
                  AutomationException
Removes all points from the collection.

Description

Removes all points from the collection.

Product Availability

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

Specified by:
clear in interface ISMPointsCollection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.