|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.carto.IMaps2Proxy
public class IMaps2Proxy
Provides access to members of map collection.
Every map document contains at least one Map object but a map document can contain any number of Map objects. The Maps object contains a collection of all the maps of the document. IMxDocument::Maps returns a reference to this collection.
The IMaps2 interface is a collection of map objects and contains method and properties to manage the maps contained by the document.
Only one Map can have focus at a time, and this Map is called the focus map. IMxDocument::FocusMap returns a reference to the Map currently with focus.
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IMaps2Proxy()
|
|
IMaps2Proxy(Object obj)
|
protected |
IMaps2Proxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
add(IMap map)
Adds a map to the collection. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IMap |
create()
Creates a new map. |
int |
getCount()
Number of maps. |
IMap |
getItem(int index)
The map at the given index. |
void |
moveItem(IMap pMap,
int toIndex)
Moves the map to the given index. |
void |
remove(IMap map)
Removes a map from the collection. |
void |
removeAt(int index)
Removes a map at the specified index. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
reset()
Removes all maps from the collection. |
| 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 |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public IMaps2Proxy()
public IMaps2Proxy(Object obj)
throws IOException
IOException
protected IMaps2Proxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public int getCount()
throws IOException,
AutomationException
The Count property returns the number of Map objects in the collection.
getCount in interface IMaps2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMap getItem(int index)
throws IOException,
AutomationException
getItem in interface IMaps2index - 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 IMaps2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void remove(IMap map)
throws IOException,
AutomationException
remove in interface IMaps2map - 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 IMaps2map - 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 IMaps2index - 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 IMaps2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveItem(IMap pMap,
int toIndex)
throws IOException,
AutomationException
moveItem in interface IMaps2pMap - A reference to a com.esri.arcgis.carto.IMap (in)toIndex - The toIndex (in)
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 | ||||||||