com.esri.arcgis.editor
Class IEditSketch2Proxy

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

public class IEditSketch2Proxy
extends IEditSketchProxy
implements IEditSketch2, java.io.Serializable

Internal use class Proxy for COM Interface 'IEditSketch2'. 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.IEditSketch2
IID, IIDf8cf41ac_6f8a_4892_b0f7_2e0668b8cba0
 
Fields inherited from interface com.esri.arcgis.editor.IEditSketch
IID6d3a6f67_9115_11d1_8461_0000f875b9c6
 
Constructor Summary
  IEditSketch2Proxy()
          For internal use only
  IEditSketch2Proxy(java.lang.Object obj)
           
protected IEditSketch2Proxy(java.lang.Object obj, java.lang.String iid)
           
  IEditSketch2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IEditSketch2Proxy(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)
           
 double getCurrentZ()
          Current Z value for the edit sketch.
 IEditSketchExtension getEditSketchExtension()
          The current edit sketch extension.
 boolean isMAware()
          Indicates if the edit sketch geometry will contain Ms.
 boolean isPartComplete()
          Indicates whether FinishPart has been called on the edit sketch.
 boolean isZAware()
          Indicates if the edit sketch geometry will contain Zs.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setCurrentZ(double z)
          Current Z value for the edit sketch.
 void setEditSketchExtensionByRef(IEditSketchExtension extension)
          The current edit sketch extension.
 void setMAware(boolean aware)
          Indicates if the edit sketch geometry will contain Ms.
 void setZAware(boolean aware)
          Indicates if the edit sketch geometry will contain Zs.
 void vertexAdded(IPoint point)
          Call to notify listeners that a sketch vertex has been added.
 void vertexDeleted(IPoint point)
          Call to notify listeners that a sketch vertex has been deleted.
 void vertexMoved(IPoint point)
          Call to notify listeners that a sketch vertex has been moved.
 
Methods inherited from class com.esri.arcgis.editor.IEditSketchProxy
addPoint, finishSketch, finishSketchPart, getGeometry, getGeometryType, getLastPoint, getPart, getSegment, getVertex, modifySketch, refreshSketch, setGeometryByRef, setGeometryType
 
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
 
Methods inherited from interface com.esri.arcgis.editor.IEditSketch
addPoint, finishSketch, finishSketchPart, getGeometry, getGeometryType, getLastPoint, getPart, getSegment, getVertex, modifySketch, refreshSketch, setGeometryByRef, setGeometryType
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IEditSketch2Proxy

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

IEditSketch2Proxy

public IEditSketch2Proxy()
For internal use only


IEditSketch2Proxy

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

IEditSketch2Proxy

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

IEditSketch2Proxy

protected IEditSketch2Proxy(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 IEditSketchProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class IEditSketchProxy
Throws:
java.io.IOException

isZAware

public boolean isZAware()
                 throws java.io.IOException,
                        AutomationException
Indicates if the edit sketch geometry will contain Zs.

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

setZAware

public void setZAware(boolean aware)
               throws java.io.IOException,
                      AutomationException
Indicates if the edit sketch geometry will contain Zs.

Specified by:
setZAware in interface IEditSketch2
Parameters:
aware - The aware (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurrentZ

public double getCurrentZ()
                   throws java.io.IOException,
                          AutomationException
Current Z value for the edit sketch.

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

setCurrentZ

public void setCurrentZ(double z)
                 throws java.io.IOException,
                        AutomationException
Current Z value for the edit sketch.

Specified by:
setCurrentZ in interface IEditSketch2
Parameters:
z - The z (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEditSketchExtensionByRef

public void setEditSketchExtensionByRef(IEditSketchExtension extension)
                                 throws java.io.IOException,
                                        AutomationException
The current edit sketch extension.

Specified by:
setEditSketchExtensionByRef in interface IEditSketch2
Parameters:
extension - A reference to a com.esri.arcgis.editor.IEditSketchExtension (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEditSketchExtension

public IEditSketchExtension getEditSketchExtension()
                                            throws java.io.IOException,
                                                   AutomationException
The current edit sketch extension.

Specified by:
getEditSketchExtension in interface IEditSketch2
Returns:
A reference to a com.esri.arcgis.editor.IEditSketchExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

vertexAdded

public void vertexAdded(IPoint point)
                 throws java.io.IOException,
                        AutomationException
Call to notify listeners that a sketch vertex has been added.

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

vertexDeleted

public void vertexDeleted(IPoint point)
                   throws java.io.IOException,
                          AutomationException
Call to notify listeners that a sketch vertex has been deleted.

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

vertexMoved

public void vertexMoved(IPoint point)
                 throws java.io.IOException,
                        AutomationException
Call to notify listeners that a sketch vertex has been moved.

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

isMAware

public boolean isMAware()
                 throws java.io.IOException,
                        AutomationException
Indicates if the edit sketch geometry will contain Ms.

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

setMAware

public void setMAware(boolean aware)
               throws java.io.IOException,
                      AutomationException
Indicates if the edit sketch geometry will contain Ms.

Specified by:
setMAware in interface IEditSketch2
Parameters:
aware - The aware (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPartComplete

public boolean isPartComplete()
                       throws java.io.IOException,
                              AutomationException
Indicates whether FinishPart has been called on the edit sketch.

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