com.esri.arcgis.editor
Class IEditSketchProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.editor.IEditSketchProxy
All Implemented Interfaces:
IEditSketch, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IEditSketch2Proxy

public class IEditSketchProxy
extends com.esri.arcgis.interop.Dispatch
implements IEditSketch, java.io.Serializable

Internal use class Proxy for COM Interface 'IEditSketch'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriEditor.olb'

Description: 'Provides access to members that access and manipulate the edit sketch.' 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.editor.IEditSketch
IID, IID6d3a6f67_9115_11d1_8461_0000f875b9c6
 
Constructor Summary
  IEditSketchProxy()
          For internal use only
  IEditSketchProxy(java.lang.Object obj)
           
protected IEditSketchProxy(java.lang.Object obj, java.lang.String iid)
           
  IEditSketchProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IEditSketchProxy(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)
           
 void addPoint(IPoint point, boolean allowUndo)
          Adds a point to the edit sketch.
 void finishSketch()
          Completes the current edit sketch.
 void finishSketchPart()
          Completes a part for the current edit sketch.
 IGeometry getGeometry()
          Geometry stored in the edit sketch.
 int getGeometryType()
          Type of the geometry stored in the edit sketch.
 IPoint getLastPoint()
          The last point in the edit sketch.
 int getPart()
          The index of the current part of the sketch.
 int getSegment()
          The index of the current segment of the sketch.
 int getVertex()
          The index of the current vertex of the sketch.
 void modifySketch()
          Call to notify listeners that the sketch has been changed.
 void refreshSketch()
          Invalidates the portion of the display that is occupied by the sketch.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setGeometryByRef(IGeometry geometry)
          Geometry stored in the edit sketch.
 void setGeometryType(int geomType)
          Type of the geometry stored in the edit sketch.
 
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

IEditSketchProxy

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

IEditSketchProxy

public IEditSketchProxy()
For internal use only


IEditSketchProxy

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

IEditSketchProxy

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

IEditSketchProxy

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

getPart

public int getPart()
            throws java.io.IOException,
                   AutomationException
The index of the current part of the sketch.

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

getSegment

public int getSegment()
               throws java.io.IOException,
                      AutomationException
The index of the current segment of the sketch.

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

getVertex

public int getVertex()
              throws java.io.IOException,
                     AutomationException
The index of the current vertex of the sketch.

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

getGeometryType

public int getGeometryType()
                    throws java.io.IOException,
                           AutomationException
Type of the geometry stored in the edit sketch.

Specified by:
getGeometryType in interface IEditSketch
Returns:
A com.esri.arcgis.geometry.esriGeometryType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeometryType

public void setGeometryType(int geomType)
                     throws java.io.IOException,
                            AutomationException
Type of the geometry stored in the edit sketch.

Specified by:
setGeometryType in interface IEditSketch
Parameters:
geomType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometry

public IGeometry getGeometry()
                      throws java.io.IOException,
                             AutomationException
Geometry stored in the edit sketch.

Specified by:
getGeometry in interface IEditSketch
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.

setGeometryByRef

public void setGeometryByRef(IGeometry geometry)
                      throws java.io.IOException,
                             AutomationException
Geometry stored in the edit sketch.

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

addPoint

public void addPoint(IPoint point,
                     boolean allowUndo)
              throws java.io.IOException,
                     AutomationException
Adds a point to the edit sketch. If allowUndo is true, a new operation will be created.

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

refreshSketch

public void refreshSketch()
                   throws java.io.IOException,
                          AutomationException
Invalidates the portion of the display that is occupied by the sketch.

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

finishSketch

public void finishSketch()
                  throws java.io.IOException,
                         AutomationException
Completes the current edit sketch.

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

finishSketchPart

public void finishSketchPart()
                      throws java.io.IOException,
                             AutomationException
Completes a part for the current edit sketch.

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

getLastPoint

public IPoint getLastPoint()
                    throws java.io.IOException,
                           AutomationException
The last point in the edit sketch.

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

modifySketch

public void modifySketch()
                  throws java.io.IOException,
                         AutomationException
Call to notify listeners that the sketch has been changed.

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