com.esri.arcgis.carto
Interface IMaps2

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IMaps2Proxy

public interface IMaps2
extends java.io.Serializable

COM Interface 'IMaps2'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members of map collection.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDeb3557eb_5f9a_4f83_821e_0826e5cbfd30
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void add(IMap map)
          Adds a map to the collection.
 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 reset()
          Removes all maps from the collection.
 

Field Detail

IIDeb3557eb_5f9a_4f83_821e_0826e5cbfd30

static final int IIDeb3557eb_5f9a_4f83_821e_0826e5cbfd30
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
Number of maps.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItem

IMap getItem(int index)
             throws java.io.IOException,
                    AutomationException
The map at the given index.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.IMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

IMap create()
            throws java.io.IOException,
                   AutomationException
Creates a new map.

Returns:
A reference to a com.esri.arcgis.carto.IMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(IMap map)
            throws java.io.IOException,
                   AutomationException
Removes a map from the collection.

Parameters:
map - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

void add(IMap map)
         throws java.io.IOException,
                AutomationException
Adds a map to the collection.

Parameters:
map - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAt

void removeAt(int index)
              throws java.io.IOException,
                     AutomationException
Removes a map at the specified index.

Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

void reset()
           throws java.io.IOException,
                  AutomationException
Removes all maps from the collection.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

moveItem

void moveItem(IMap pMap,
              int toIndex)
              throws java.io.IOException,
                     AutomationException
Moves the map to the given index.

Parameters:
pMap - A reference to a com.esri.arcgis.carto.IMap (in)
toIndex - The toIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.