| 
|||||||||
| 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.IMapsProxy
public class IMapsProxy
Provides access to members that control the maps collection.
Use IMaps interface to get access to a collection of Maps object using IMxDocument.Maps property.
Please ignore the above statement in the Product Availability section. IMaps interface is NOT available with ArcGIS Server and ArcGIS Engine since this interface is used to get access to a Maps object, which is a non-creatable object. References to non-creatable objects must be obtained through other objects. IMaps interface is available only with ArcGIS Desktop.
| Field Summary | |
|---|---|
 boolean | 
noncastable
 | 
| Fields inherited from class com.esri.arcgis.interop.Dispatch | 
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef | 
| Constructor Summary | |
|---|---|
  | 
IMapsProxy()
 | 
  | 
IMapsProxy(Object obj)
 | 
protected  | 
IMapsProxy(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 | 
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 IMapsProxy()
public IMapsProxy(Object obj)
           throws IOException
IOException
protected IMapsProxy(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
getCount in interface IMapsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMap getItem(int index)
             throws IOException,
                    AutomationException
getItem in interface IMapsindex - 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 IMapsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void remove(IMap map)
            throws IOException,
                   AutomationException
remove in interface IMapsmap - 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 IMapsmap - 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 IMapsindex - 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 IMapsIOException - 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 | ||||||||