com.esri.arcgis.display
Class IMapContextProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.display.IMapContextProxy
All Implemented Interfaces:
IMapContext, java.io.Externalizable, java.io.Serializable

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

Description: 'Provides access to the context in which geometric effects and marker placements work.' 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 IMapContextProxy
extends com.esri.arcgis.interop.Dispatch
implements IMapContext, 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.display.IMapContext
IID, IIDa7be1534_8847_4a3b_ba08_4d4a94405427
 
Constructor Summary
  IMapContextProxy()
          Deprecated. For internal use only
  IMapContextProxy(java.lang.Object obj)
          Deprecated.  
protected IMapContextProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IMapContextProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IMapContextProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 IGeometry fromGeographyToMap(IGeometry ingeom)
          Deprecated. Converts geographic geometry to map context geometry.
 IGeometry fromMapToGeography(IGeometry ingeom)
          Deprecated. Converts map context geometry to geographic geometry.
 double fromPoints(double ptDist)
          Deprecated. Converts a distance expressed in points into a geographic distance.
 double getReferenceScale()
          Deprecated. The reference scale of the map.
 ISpatialReference getSpatialReference()
          Deprecated. The spatial reference of the map.
 void init(ISpatialReference mapProj, double mapRefScale, IEnvelope mapExtent)
          Deprecated. Initializes the map context.
 void initFromDisplay(IDisplayTransformation displayTransform)
          Deprecated. Initializes the map context using a display transformation.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 double toPoints(double mapDist)
          Deprecated. Converts a geographic distance into a distance expressed in points.
 
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

IMapContextProxy

public IMapContextProxy(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

IMapContextProxy

public IMapContextProxy()
Deprecated. 
For internal use only


IMapContextProxy

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

IMapContextProxy

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

IMapContextProxy

protected IMapContextProxy(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

initFromDisplay

public void initFromDisplay(IDisplayTransformation displayTransform)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Initializes the map context using a display transformation.

Specified by:
initFromDisplay in interface IMapContext
Parameters:
displayTransform - A reference to a com.esri.arcgis.display.IDisplayTransformation (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(ISpatialReference mapProj,
                 double mapRefScale,
                 IEnvelope mapExtent)
          throws java.io.IOException,
                 AutomationException
Deprecated. 
Initializes the map context.

Specified by:
init in interface IMapContext
Parameters:
mapProj - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
mapRefScale - The mapRefScale (in)
mapExtent - 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.

fromGeographyToMap

public IGeometry fromGeographyToMap(IGeometry ingeom)
                             throws java.io.IOException,
                                    AutomationException
Deprecated. 
Converts geographic geometry to map context geometry.

Specified by:
fromGeographyToMap in interface IMapContext
Parameters:
ingeom - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fromMapToGeography

public IGeometry fromMapToGeography(IGeometry ingeom)
                             throws java.io.IOException,
                                    AutomationException
Deprecated. 
Converts map context geometry to geographic geometry.

Specified by:
fromMapToGeography in interface IMapContext
Parameters:
ingeom - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReferenceScale

public double getReferenceScale()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
The reference scale of the map.

Specified by:
getReferenceScale in interface IMapContext
Returns:
The refScale
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 IMapContext
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.

fromPoints

public double fromPoints(double ptDist)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Converts a distance expressed in points into a geographic distance.

Specified by:
fromPoints in interface IMapContext
Parameters:
ptDist - The ptDist (in)
Returns:
The mapDist
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toPoints

public double toPoints(double mapDist)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Converts a geographic distance into a distance expressed in points.

Specified by:
toPoints in interface IMapContext
Parameters:
mapDist - The mapDist (in)
Returns:
The ptDist
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.