com.esri.arcgis.display
Class GeometryDraw

java.lang.Object
  extended by com.esri.arcgis.display.GeometryDraw
All Implemented Interfaces:
IGeometryDraw, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class GeometryDraw
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGeometryDraw, ISupportErrorInfo

COM Class 'GeometryDraw'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description 'Converts a geometry to a sequence of Win32 drawing instructions.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.display.IGeometryDraw
IID, IID741451a0_5f13_11d2_bcdb_0000f875bcce, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
GeometryDraw()
          Constructs a GeometryDraw using ArcGIS Engine.
GeometryDraw(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeometryDraw theGeometryDraw = (GeometryDraw) obj;
 
Method Summary
 void draw(int hDC, IGeometry pGeometry, ITransformation pTransformation, IEnvelope pVisibleBounds)
          Draws the geometry.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void queryGeometryFromWin32Path(int hDC, ITransformation transform, IPolygon geometry)
          Queries the geometry.
 void release()
          Release a GeometryDraw.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryDraw

public GeometryDraw()
             throws java.io.IOException,
                    java.net.UnknownHostException
Constructs a GeometryDraw using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GeometryDraw

public GeometryDraw(java.lang.Object obj)
             throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GeometryDraw theGeometryDraw = (GeometryDraw) obj;

Construct a GeometryDraw using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GeometryDraw.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GeometryDraw.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

draw

public void draw(int hDC,
                 IGeometry pGeometry,
                 ITransformation pTransformation,
                 IEnvelope pVisibleBounds)
          throws java.io.IOException,
                 AutomationException
Draws the geometry.

Specified by:
draw in interface IGeometryDraw
Parameters:
hDC - The hDC (A COM typedef) (in)
pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pTransformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
pVisibleBounds - 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.

queryGeometryFromWin32Path

public void queryGeometryFromWin32Path(int hDC,
                                       ITransformation transform,
                                       IPolygon geometry)
                                throws java.io.IOException,
                                       AutomationException
Queries the geometry.

Specified by:
queryGeometryFromWin32Path in interface IGeometryDraw
Parameters:
hDC - The hDC (A COM typedef) (in)
transform - A reference to a com.esri.arcgis.geometry.ITransformation (in)
geometry - A reference to a com.esri.arcgis.geometry.IPolygon (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.