com.esri.arcgis.carto
Class IBasicMap2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IBasicMap2Proxy
All Implemented Interfaces:
IBasicMap2, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IBasicMap2'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the basic map.' 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 =

public class IBasicMap2Proxy
extends com.esri.arcgis.interop.Dispatch
implements IBasicMap2, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.carto.IBasicMap2
IID, IID47fa77fa_2f59_42b9_9048_7b139da3fe26
 
Constructor Summary
  IBasicMap2Proxy()
          Deprecated. For internal use only
  IBasicMap2Proxy(java.lang.Object obj)
          Deprecated.  
protected IBasicMap2Proxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IBasicMap2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IBasicMap2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addLayer(ILayer pLayer)
          Deprecated. Adds a layer to the map.
 void addLayers(IEnumLayer pLayers, boolean autoArrange)
          Deprecated. Adds multiple layers to the map, arranging them nicely if specified.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void clearLayers()
          Deprecated. Removes all layers from the map.
 void clearSelection()
          Deprecated. Clears the map selection.
 void deleteLayer(ILayer pLayer)
          Deprecated. Deletes a layer from the map.
 ILayer getActiveGraphicsLayer()
          Deprecated. The active graphics layer.
 IGraphicsLayer getBasicGraphicsLayer()
          Deprecated. The basic graphics layer.
 java.lang.String getCopyrightText()
          Deprecated. Copyright information associated with the map.
 java.lang.String getDescription()
          Deprecated. Description of the map.
 ISelection getFeatureSelection()
          Deprecated. The map's feature selection.
 ILayer getLayer(int index)
          Deprecated. The layer at the given index.
 int getLayerCount()
          Deprecated. Number of layers in the map.
 IEnumLayer getLayers(IUID uid, boolean recursive)
          Deprecated. The layers in the map of the type specified in the uid.
 java.lang.String getName()
          Deprecated. Name of the map.
 int getSelectionCount()
          Deprecated. Number of selected features in the map.
 ISpatialReference getSpatialReference()
          Deprecated. The spatial reference of the map.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void selectByShape(IGeometry shape, ISelectionEnvironment env, boolean justOne)
          Deprecated. Selects features in the map given a shape and a selection environment (optional).
 void setActiveGraphicsLayerByRef(ILayer ppGraphicsLayer)
          Deprecated. The active graphics layer.
 void setAreaOfInterest(IEnvelope rhs1)
          Deprecated. Area of interest for the map.
 void setCopyrightText(java.lang.String copyright)
          Deprecated. Copyright information associated with the map.
 void setDescription(java.lang.String pDescr)
          Deprecated. Description of the map.
 void setFeatureSelectionByRef(ISelection ppSelection)
          Deprecated. The map's feature selection.
 void setName(java.lang.String pName)
          Deprecated. Name of the map.
 void setSpatialReferenceByRef(ISpatialReference ppSpatialRef)
          Deprecated. The spatial reference of the map.
 
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

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IBasicMap2Proxy

public IBasicMap2Proxy(java.lang.String CLSID,
                       java.lang.String host,
                       com.esri.arcgis.interop.AuthInfo authInfo)
                throws java.net.UnknownHostException,
                       java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IBasicMap2Proxy

public IBasicMap2Proxy()
Deprecated. 
For internal use only


IBasicMap2Proxy

public IBasicMap2Proxy(java.lang.Object obj)
                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IBasicMap2Proxy

protected IBasicMap2Proxy(java.lang.Object obj,
                          java.lang.String iid)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IBasicMap2Proxy

protected IBasicMap2Proxy(java.lang.String CLSID,
                          java.lang.String iid,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getCopyrightText

public java.lang.String getCopyrightText()
                                  throws java.io.IOException,
                                         AutomationException
Deprecated. 
Copyright information associated with the map.

Specified by:
getCopyrightText in interface IBasicMap2
Returns:
The copyright
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCopyrightText

public void setCopyrightText(java.lang.String copyright)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Copyright information associated with the map.

Specified by:
setCopyrightText in interface IBasicMap2
Parameters:
copyright - The copyright (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Name of the map.

Specified by:
getName in interface IBasicMap2
Returns:
The pName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String pName)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Name of the map.

Specified by:
setName in interface IBasicMap2
Parameters:
pName - The pName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
Deprecated. 
Description of the map.

Specified by:
getDescription in interface IBasicMap2
Returns:
The pDescr
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDescription

public void setDescription(java.lang.String pDescr)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Description of the map.

Specified by:
setDescription in interface IBasicMap2
Parameters:
pDescr - The pDescr (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAreaOfInterest

public void setAreaOfInterest(IEnvelope rhs1)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Area of interest for the map.

Specified by:
setAreaOfInterest in interface IBasicMap2
Parameters:
rhs1 - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerCount

public int getLayerCount()
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Number of layers in the map.

Specified by:
getLayerCount in interface IBasicMap2
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayer

public ILayer getLayer(int index)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The layer at the given index.

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

getLayers

public IEnumLayer getLayers(IUID uid,
                            boolean recursive)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
The layers in the map of the type specified in the uid. If recursive is true it will return layers in group layers.

Specified by:
getLayers in interface IBasicMap2
Parameters:
uid - A reference to a com.esri.arcgis.system.IUID (in, optional, pass 0 if not required)
recursive - The recursive (in, optional, pass true if not required)
Returns:
A reference to a com.esri.arcgis.carto.IEnumLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
Deprecated. 
The spatial reference of the map.

Specified by:
getSpatialReference in interface IBasicMap2
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReferenceByRef

public void setSpatialReferenceByRef(ISpatialReference ppSpatialRef)
                              throws java.io.IOException,
                                     AutomationException
Deprecated. 
The spatial reference of the map.

Specified by:
setSpatialReferenceByRef in interface IBasicMap2
Parameters:
ppSpatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLayer

public void addLayer(ILayer pLayer)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Adds a layer to the map.

Specified by:
addLayer in interface IBasicMap2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLayers

public void addLayers(IEnumLayer pLayers,
                      boolean autoArrange)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Adds multiple layers to the map, arranging them nicely if specified.

Specified by:
addLayers in interface IBasicMap2
Parameters:
pLayers - A reference to a com.esri.arcgis.carto.IEnumLayer (in)
autoArrange - The autoArrange (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteLayer

public void deleteLayer(ILayer pLayer)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Deletes a layer from the map.

Specified by:
deleteLayer in interface IBasicMap2
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearLayers

public void clearLayers()
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Removes all layers from the map.

Specified by:
clearLayers in interface IBasicMap2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBasicGraphicsLayer

public IGraphicsLayer getBasicGraphicsLayer()
                                     throws java.io.IOException,
                                            AutomationException
Deprecated. 
The basic graphics layer.

Specified by:
getBasicGraphicsLayer in interface IBasicMap2
Returns:
A reference to a com.esri.arcgis.carto.IGraphicsLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActiveGraphicsLayer

public ILayer getActiveGraphicsLayer()
                              throws java.io.IOException,
                                     AutomationException
Deprecated. 
The active graphics layer. If no graphic layers exist a basic memory graphics layer will be created.

Specified by:
getActiveGraphicsLayer in interface IBasicMap2
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveGraphicsLayerByRef

public void setActiveGraphicsLayerByRef(ILayer ppGraphicsLayer)
                                 throws java.io.IOException,
                                        AutomationException
Deprecated. 
The active graphics layer. If no graphic layers exist a basic memory graphics layer will be created.

Specified by:
setActiveGraphicsLayerByRef in interface IBasicMap2
Parameters:
ppGraphicsLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectionCount

public int getSelectionCount()
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Number of selected features in the map.

Specified by:
getSelectionCount in interface IBasicMap2
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearSelection

public void clearSelection()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Clears the map selection.

Specified by:
clearSelection in interface IBasicMap2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureSelection

public ISelection getFeatureSelection()
                               throws java.io.IOException,
                                      AutomationException
Deprecated. 
The map's feature selection.

Specified by:
getFeatureSelection in interface IBasicMap2
Returns:
A reference to a com.esri.arcgis.carto.ISelection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFeatureSelectionByRef

public void setFeatureSelectionByRef(ISelection ppSelection)
                              throws java.io.IOException,
                                     AutomationException
Deprecated. 
The map's feature selection.

Specified by:
setFeatureSelectionByRef in interface IBasicMap2
Parameters:
ppSelection - A reference to a com.esri.arcgis.carto.ISelection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

selectByShape

public void selectByShape(IGeometry shape,
                          ISelectionEnvironment env,
                          boolean justOne)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Selects features in the map given a shape and a selection environment (optional).

Specified by:
selectByShape in interface IBasicMap2
Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
env - A reference to a com.esri.arcgis.carto.ISelectionEnvironment (in)
justOne - The justOne (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.