|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.display.MapContext
public class MapContext
COM Class 'MapContext'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'
Description 'The context in which geometric effects and marker placement 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 =
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.display.IMapContext |
|---|
IID, IIDa7be1534_8847_4a3b_ba08_4d4a94405427, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Constructor Summary | |
|---|---|
MapContext()
Constructs a MapContext using ArcGIS Engine. |
|
MapContext(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MapContext theMapContext = (MapContext) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
IGeometry |
fromGeographyToMap(IGeometry ingeom)
Converts geographic geometry to map context geometry. |
IGeometry |
fromMapToGeography(IGeometry ingeom)
Converts map context geometry to geographic geometry. |
double |
fromPoints(double ptDist)
Converts a distance expressed in points into a geographic distance. |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
double |
getReferenceScale()
The reference scale of the map. |
ISpatialReference |
getSpatialReference()
The spatial reference of the map. |
int |
hashCode()
the hashcode for this object |
void |
init(ISpatialReference mapProj,
double mapRefScale,
IEnvelope mapExtent)
Initializes the map context. |
void |
initFromDisplay(IDisplayTransformation displayTransform)
Initializes the map context using a display transformation. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
release()
Release a MapContext. |
double |
toPoints(double mapDist)
Converts a geographic distance into a distance expressed in points. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapContext()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public MapContext(java.lang.Object obj)
throws java.io.IOException
MapContext theMapContext = (MapContext) obj;
obj to MapContext.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void initFromDisplay(IDisplayTransformation displayTransform)
throws java.io.IOException,
AutomationException
initFromDisplay in interface IMapContextdisplayTransform - A reference to a com.esri.arcgis.display.IDisplayTransformation (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void init(ISpatialReference mapProj,
double mapRefScale,
IEnvelope mapExtent)
throws java.io.IOException,
AutomationException
init in interface IMapContextmapProj - 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry fromGeographyToMap(IGeometry ingeom)
throws java.io.IOException,
AutomationException
fromGeographyToMap in interface IMapContextingeom - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry fromMapToGeography(IGeometry ingeom)
throws java.io.IOException,
AutomationException
fromMapToGeography in interface IMapContextingeom - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getReferenceScale()
throws java.io.IOException,
AutomationException
getReferenceScale in interface IMapContextjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference getSpatialReference()
throws java.io.IOException,
AutomationException
getSpatialReference in interface IMapContextjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double fromPoints(double ptDist)
throws java.io.IOException,
AutomationException
fromPoints in interface IMapContextptDist - The ptDist (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double toPoints(double mapDist)
throws java.io.IOException,
AutomationException
toPoints in interface IMapContextmapDist - The mapDist (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.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 | ||||||||