com.esri.arcgis.editor
Interface IEditSketch

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IEditSketch2, IEditSketch3
All Known Implementing Classes:
Editor, IEditSketch2Proxy, IEditSketch3Proxy, IEditSketchProxy

public interface IEditSketch
extends java.io.Serializable

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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID6d3a6f67_9115_11d1_8461_0000f875b9c6
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 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 setGeometryByRef(IGeometry geometry)
          Geometry stored in the edit sketch.
 void setGeometryType(int geomType)
          Type of the geometry stored in the edit sketch.
 

Field Detail

IID6d3a6f67_9115_11d1_8461_0000f875b9c6

static final int IID6d3a6f67_9115_11d1_8461_0000f875b9c6
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getPart

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

Returns:
The part
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSegment

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

Returns:
The segment
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVertex

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

Returns:
The vertex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometryType

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

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

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

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

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

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

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

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

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.

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

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

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

finishSketch

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

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

finishSketchPart

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

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLastPoint

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

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

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

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.