|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesfile.SMStopsCollection
public class SMStopsCollection
The collection of route stops.
Constructor Summary | |
---|---|
SMStopsCollection()
Constructs a SMStopsCollection using ArcGIS Engine. |
|
SMStopsCollection(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SMStopsCollection theSMStopsCollection = (SMStopsCollection) obj; |
Method Summary | |
---|---|
void |
add(ISMStop pItem)
Adds a stop to the end of collection. |
void |
clear()
Removes all stops from the collection. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
The number of stops in the collection. |
ISMStop |
getItem(int position)
The stop at the specified position in the collection. |
int |
hashCode()
the hashcode for this object |
void |
insert(int position,
ISMStop pItem)
Inserts a stop at the specified position in the collection. |
void |
remove(int position)
Removes the stop at the specified position in the collection. |
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 SMStopsCollection() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SMStopsCollection(Object obj) throws IOException
SMStopsCollection theSMStopsCollection = (SMStopsCollection) obj;
obj
to SMStopsCollection
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
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 stops in a collection.
getCount
in interface ISMStopsCollection
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISMStop getItem(int position) throws IOException, AutomationException
getItem
in interface ISMStopsCollection
position
- The position (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(ISMStop pItem) throws IOException, AutomationException
Add a stop to the end of a collection.
add
in interface ISMStopsCollection
pItem
- A reference to a com.esri.arcgis.datasourcesfile.ISMStop (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insert(int position, ISMStop pItem) throws IOException, AutomationException
Inserts a stop at a specifed position within a collection.
insert
in interface ISMStopsCollection
position
- The position (in)pItem
- A reference to a com.esri.arcgis.datasourcesfile.ISMStop (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int position) throws IOException, AutomationException
Removes a stop at a specifed position within a collection.
remove
in interface ISMStopsCollection
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 stops from the collection.
clear
in interface ISMStopsCollection
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 |