|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.arcmapui.Maps
public class Maps
Helper for working with the IMaps interface.
Constructor Summary | |
---|---|
Maps(Object obj)
Construct a Maps 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. |
IMap |
create()
Creates a new map. |
boolean |
equals(Object o)
Compare this object with another |
int |
getCount()
Number of maps. |
IMap |
getItem(int index)
The map at the given index. |
int |
hashCode()
the hashcode for this object |
void |
remove(IMap map)
Removes a map from the collection. |
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 Maps(Object obj) throws IOException
obj
to Maps
. *
Maps o = (Maps)obj; // will not work
Maps o = new Maps(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
Maps theMaps = (Maps) 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
getCount
in interface IMaps
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |