|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesfile.SMPointsCollection
public class SMPointsCollection
The collection of geographic points.
Constructor Summary | |
---|---|
SMPointsCollection(Object obj)
Construct a SMPointsCollection using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
add(ISMRouterPoint pItem)
Adds a point to the end of the collection. |
void |
clear()
Removes all points from the collection. |
boolean |
equals(Object o)
Compare this object with another |
int |
getCount()
Number of points in the collection. |
ISMRouterPoint |
getItem(int position)
Represents the point in the collection at the specified position. |
int |
hashCode()
the hashcode for this object |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public SMPointsCollection(Object obj) throws IOException
obj
to SMPointsCollection
. *
SMPointsCollection o = (SMPointsCollection)obj; // will not work
SMPointsCollection o = new SMPointsCollection(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
SMPointsCollection theSMPointsCollection = (SMPointsCollection) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getCount() throws IOException, AutomationException
Returns the number of points in the collection.
getCount
in interface ISMPointsCollection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISMRouterPoint getItem(int position) throws IOException, AutomationException
getItem
in interface ISMPointsCollection
position
- The position (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(ISMRouterPoint pItem) throws IOException, AutomationException
Adds the point to the collection.
add
in interface ISMPointsCollection
pItem
- A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insert(int position, ISMRouterPoint pItem) throws IOException, AutomationException
Inserts the point to the collection at a specified position.
insert
in interface ISMPointsCollection
position
- The position (in)pItem
- A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int position) throws IOException, AutomationException
Removes the point from the collection.
remove
in interface ISMPointsCollection
position
- The position (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws IOException, AutomationException
Removes all points from the collection.
clear
in interface ISMPointsCollection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |