com.esri.arcgis.editor
Class ISketchToolProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.editor.ISketchToolProxy
All Implemented Interfaces:
ISketchTool, java.io.Externalizable, java.io.Serializable

public class ISketchToolProxy
extends com.esri.arcgis.interop.Dispatch
implements ISketchTool, java.io.Serializable

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

Description: 'Provides access to members that control the main sketch tool.' 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.ISketchTool
IID, IID014ee842_a498_11d1_846b_0000f875b9c6
 
Constructor Summary
  ISketchToolProxy()
          For internal use only
  ISketchToolProxy(java.lang.Object obj)
           
protected ISketchToolProxy(java.lang.Object obj, java.lang.String iid)
           
  ISketchToolProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ISketchToolProxy(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 esri_clone, boolean allowUndo)
          Adds a point to the sketch.
 IPoint getAnchor()
          The anchor of the sketch.
 double getAngleConstraint()
          The sketch's angular constraint.
 int getConstraint()
          The sketch constraint.
 double getDistanceConstraint()
          The sketch's distance constraint.
 IPoint getLocation()
          The current location of the mouse.
 boolean isStreaming()
          Indicates whether stream mode digitizing is enabled.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setAngleConstraint(double val)
          The sketch's angular constraint.
 void setConstraint(int constraint)
          The sketch constraint.
 void setDistanceConstraint(double val)
          The sketch's distance constraint.
 void setIsStreaming(boolean isStreaming)
          Indicates whether stream mode digitizing is enabled.
 
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

ISketchToolProxy

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

ISketchToolProxy

public ISketchToolProxy()
For internal use only


ISketchToolProxy

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

ISketchToolProxy

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

ISketchToolProxy

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

getAnchor

public IPoint getAnchor()
                 throws java.io.IOException,
                        AutomationException
The anchor of the sketch.

Specified by:
getAnchor in interface ISketchTool
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.

getLocation

public IPoint getLocation()
                   throws java.io.IOException,
                          AutomationException
The current location of the mouse.

Specified by:
getLocation in interface ISketchTool
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.

getConstraint

public int getConstraint()
                  throws java.io.IOException,
                         AutomationException
The sketch constraint.

Specified by:
getConstraint in interface ISketchTool
Returns:
A com.esri.arcgis.editor.esriSketchConstraint constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConstraint

public void setConstraint(int constraint)
                   throws java.io.IOException,
                          AutomationException
The sketch constraint.

Specified by:
setConstraint in interface ISketchTool
Parameters:
constraint - A com.esri.arcgis.editor.esriSketchConstraint constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngleConstraint

public double getAngleConstraint()
                          throws java.io.IOException,
                                 AutomationException
The sketch's angular constraint.

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

setAngleConstraint

public void setAngleConstraint(double val)
                        throws java.io.IOException,
                               AutomationException
The sketch's angular constraint.

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

getDistanceConstraint

public double getDistanceConstraint()
                             throws java.io.IOException,
                                    AutomationException
The sketch's distance constraint.

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

setDistanceConstraint

public void setDistanceConstraint(double val)
                           throws java.io.IOException,
                                  AutomationException
The sketch's distance constraint.

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

isStreaming

public boolean isStreaming()
                    throws java.io.IOException,
                           AutomationException
Indicates whether stream mode digitizing is enabled.

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

setIsStreaming

public void setIsStreaming(boolean isStreaming)
                    throws java.io.IOException,
                           AutomationException
Indicates whether stream mode digitizing is enabled.

Specified by:
setIsStreaming in interface ISketchTool
Parameters:
isStreaming - The isStreaming (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 esri_clone,
                     boolean allowUndo)
              throws java.io.IOException,
                     AutomationException
Adds a point to the sketch.

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