com.esri.arcgis.display
Class IGraphicsOutlineProxy

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

public class IGraphicsOutlineProxy
extends com.esri.arcgis.interop.Dispatch
implements IGraphicsOutline, java.io.Serializable

Internal use class Proxy for COM Interface 'IGraphicsOutline'. Generated 3/19/2015 1:20:55 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description: 'Provides access to methods dealing with the outline of a graphics.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
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.IGraphicsOutline
IID, IID2af790ad_4539_43c8_870e_fa75a50b9988
 
Constructor Summary
  IGraphicsOutlineProxy()
          For internal use only
  IGraphicsOutlineProxy(java.lang.Object obj)
           
protected IGraphicsOutlineProxy(java.lang.Object obj, java.lang.String iid)
           
  IGraphicsOutlineProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IGraphicsOutlineProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 IGeometry getAllOutlineParts(int type, int option, double buffer, IEnvelope clipEnvelope)
          Constructs the entire drawing outline of a graphics.
 boolean hitTest(IPoint point, double tolerance)
          Tests if a point is located on the graphics outline.
 IGeometry nextOutlinePart()
          Hands back the next drawing outline part.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void reset(int type, int option, double buffer, IEnvelope clipEnvelope)
          Resets the collection of drawing outline parts to the beginning, before calling NextOutlinePart.
 
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

noncastable

public boolean noncastable
Constructor Detail

IGraphicsOutlineProxy

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

IGraphicsOutlineProxy

public IGraphicsOutlineProxy()
For internal use only


IGraphicsOutlineProxy

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

IGraphicsOutlineProxy

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

IGraphicsOutlineProxy

protected IGraphicsOutlineProxy(java.lang.String CLSID,
                                java.lang.String iid,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.io.IOException
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
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
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

hitTest

public boolean hitTest(IPoint point,
                       double tolerance)
                throws java.io.IOException,
                       AutomationException
Tests if a point is located on the graphics outline.

Specified by:
hitTest in interface IGraphicsOutline
Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
tolerance - The tolerance (in)
Returns:
The hit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAllOutlineParts

public IGeometry getAllOutlineParts(int type,
                                    int option,
                                    double buffer,
                                    IEnvelope clipEnvelope)
                             throws java.io.IOException,
                                    AutomationException
Constructs the entire drawing outline of a graphics.

Specified by:
getAllOutlineParts in interface IGraphicsOutline
Parameters:
type - A com.esri.arcgis.display.esriOutlineType constant (in)
option - A com.esri.arcgis.display.esriOutlineOption constant (in)
buffer - The buffer (in)
clipEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (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.

reset

public void reset(int type,
                  int option,
                  double buffer,
                  IEnvelope clipEnvelope)
           throws java.io.IOException,
                  AutomationException
Resets the collection of drawing outline parts to the beginning, before calling NextOutlinePart. To be used when drawing outline of a graphics is accessed part by part.

Specified by:
reset in interface IGraphicsOutline
Parameters:
type - A com.esri.arcgis.display.esriOutlineType constant (in)
option - A com.esri.arcgis.display.esriOutlineOption constant (in)
buffer - The buffer (in)
clipEnvelope - 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.

nextOutlinePart

public IGeometry nextOutlinePart()
                          throws java.io.IOException,
                                 AutomationException
Hands back the next drawing outline part. It is necessary to call the Reset method before iterating with the NextOutlinePart method.

Specified by:
nextOutlinePart in interface IGraphicsOutline
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.