com.esri.arcgis.editor
Class IAnnotationConstructorProxy

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

public class IAnnotationConstructorProxy
extends com.esri.arcgis.interop.Dispatch
implements IAnnotationConstructor, java.io.Serializable

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

Description: 'Provides access to members that control the annotation feature edit sketch constructor.' 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.IAnnotationConstructor
IID, IIDe7df3443_4572_4056_b075_bf69e77a0fa6
 
Constructor Summary
  IAnnotationConstructorProxy()
          For internal use only
  IAnnotationConstructorProxy(java.lang.Object obj)
           
protected IAnnotationConstructorProxy(java.lang.Object obj, java.lang.String iid)
           
  IAnnotationConstructorProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IAnnotationConstructorProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addFeedbackPoint(IPoint point)
          Adds a point to the display feedback.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void beforeStoreAnnotation(IAnnotationFeature annotationFeature, IGeometry sketchGeometry)
          Lets the constructor know the annotation is about to be stored.
 IDisplayFeedback createFeedback()
          The display feedback for the constructor.
 java.lang.String getName()
          Name of the annotation constructor.
 int getSketchGeometryType()
          The type of geometry used for the edit sketch constructor.
 boolean isCanFinish(IGeometry sketchGeometry)
          Indicates if the annotation feature can be constructed given the number of points in the edit sketch.
 void onKeyDown(int keyState, int shift)
          Called when a key is pressed.
 void onKeyUp(int keyState, int shift)
          Called when a key is pressed.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void shutdown()
          The constructor start event.
 void startFeedback(IPoint point)
          Starts the display feedback for the annotation constructor.
 void startup(IEditor pEditor)
          The annotation editor extension.
 void stopFeedback()
          Stops the display feedback.
 void updateFeedback()
          Updates the display feedback with the current settings.
 
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

IAnnotationConstructorProxy

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

IAnnotationConstructorProxy

public IAnnotationConstructorProxy()
For internal use only


IAnnotationConstructorProxy

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

IAnnotationConstructorProxy

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

IAnnotationConstructorProxy

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

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of the annotation constructor.

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

getSketchGeometryType

public int getSketchGeometryType()
                          throws java.io.IOException,
                                 AutomationException
The type of geometry used for the edit sketch constructor.

Specified by:
getSketchGeometryType in interface IAnnotationConstructor
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.

isCanFinish

public boolean isCanFinish(IGeometry sketchGeometry)
                    throws java.io.IOException,
                           AutomationException
Indicates if the annotation feature can be constructed given the number of points in the edit sketch.

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

startup

public void startup(IEditor pEditor)
             throws java.io.IOException,
                    AutomationException
The annotation editor extension.

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

shutdown

public void shutdown()
              throws java.io.IOException,
                     AutomationException
The constructor start event.

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

createFeedback

public IDisplayFeedback createFeedback()
                                throws java.io.IOException,
                                       AutomationException
The display feedback for the constructor.

Specified by:
createFeedback in interface IAnnotationConstructor
Returns:
A reference to a com.esri.arcgis.display.IDisplayFeedback
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startFeedback

public void startFeedback(IPoint point)
                   throws java.io.IOException,
                          AutomationException
Starts the display feedback for the annotation constructor.

Specified by:
startFeedback in interface IAnnotationConstructor
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.

addFeedbackPoint

public void addFeedbackPoint(IPoint point)
                      throws java.io.IOException,
                             AutomationException
Adds a point to the display feedback.

Specified by:
addFeedbackPoint in interface IAnnotationConstructor
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.

updateFeedback

public void updateFeedback()
                    throws java.io.IOException,
                           AutomationException
Updates the display feedback with the current settings.

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

stopFeedback

public void stopFeedback()
                  throws java.io.IOException,
                         AutomationException
Stops the display feedback.

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

onKeyDown

public void onKeyDown(int keyState,
                      int shift)
               throws java.io.IOException,
                      AutomationException
Called when a key is pressed.

Specified by:
onKeyDown in interface IAnnotationConstructor
Parameters:
keyState - The keyState (in)
shift - The shift (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onKeyUp

public void onKeyUp(int keyState,
                    int shift)
             throws java.io.IOException,
                    AutomationException
Called when a key is pressed.

Specified by:
onKeyUp in interface IAnnotationConstructor
Parameters:
keyState - The keyState (in)
shift - The shift (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beforeStoreAnnotation

public void beforeStoreAnnotation(IAnnotationFeature annotationFeature,
                                  IGeometry sketchGeometry)
                           throws java.io.IOException,
                                  AutomationException
Lets the constructor know the annotation is about to be stored.

Specified by:
beforeStoreAnnotation in interface IAnnotationConstructor
Parameters:
annotationFeature - A reference to a com.esri.arcgis.carto.IAnnotationFeature (in)
sketchGeometry - 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.