|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.TxMaps
public class TxMaps
TxMaps is a container class that holds a list or array of objects implementing IMap.
Constructor Summary | |
---|---|
TxMaps()
Constructs a TxMaps using ArcGIS Engine. |
|
TxMaps(Object obj)
Construct a TxMaps using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
add(IMap map)
Adds a map to the collection. |
void |
add(Object unk)
Adds an object to the array. |
IMap |
create()
Creates a new map. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
Number of maps. |
Object |
getElement(int index)
Searches for the object in the array. |
IMap |
getItem(int index)
The map at the given index. |
int |
hashCode()
the hashcode for this object |
void |
insert(int index,
Object unk)
Adds an object to the array at the specified index. |
void |
remove(IMap map)
Removes a map from the collection. |
void |
remove(int index)
Removes an object from the array. |
void |
removeAll()
Removes all objects from the array. |
void |
removeAt(int index)
Removes a map at the specified index. |
void |
reset()
Removes all maps from 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 TxMaps() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TxMaps(Object obj) throws IOException
obj
to TxMaps
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
TxMaps theTxMaps = (TxMaps) obj;
Method 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
getCount
in interface IMaps
getCount
in interface IArray
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getItem(int index) throws IOException, AutomationException
getItem
in interface IMaps
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap create() throws IOException, AutomationException
create
in interface IMaps
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(IMap map) throws IOException, AutomationException
remove
in interface IMaps
map
- A reference to a com.esri.arcgis.carto.IMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(IMap map) throws IOException, AutomationException
add
in interface IMaps
map
- A reference to a com.esri.arcgis.carto.IMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAt(int index) throws IOException, AutomationException
removeAt
in interface IMaps
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
reset
in interface IMaps
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getElement(int index) throws IOException, AutomationException
getElement
in interface IArray
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(Object unk) throws IOException, AutomationException
Adds the element to the end of the array.
When adding an object to an Array, you are merely adding a new reference to the object not copying it. The reference is released when the Array is destroyed or the object is removed.
add
in interface IArray
unk
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insert(int index, Object unk) throws IOException, AutomationException
Adds the element to the array at the specified index. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.
insert
in interface IArray
index
- The index (in)unk
- A reference to another Object (IUnknown) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int index) throws IOException, AutomationException
Removes the element at the specified index from the array. The element at the beginning or the array has an index of 0, and the element at the end of the array has in index of Count - 1.
remove
in interface IArray
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
Removes all of the elements from the array.
removeAll
in interface IArray
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 |