com.esri.arcgis.editor
Class HorizontalAnnoConstructor

java.lang.Object
  extended by com.esri.arcgis.editor.HorizontalAnnoConstructor
All Implemented Interfaces:
IAnnotationConstructor, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class HorizontalAnnoConstructor
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IAnnotationConstructor, ISupportErrorInfo

COM Class 'HorizontalAnnoConstructor'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriEditor.olb'

Description 'An annotation feature constructor for creating horizontal annotation.' 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
 
Fields inherited from interface com.esri.arcgis.editor.IAnnotationConstructor
IID, IIDe7df3443_4572_4056_b075_bf69e77a0fa6, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
HorizontalAnnoConstructor()
          Constructs a HorizontalAnnoConstructor using ArcGIS Engine.
HorizontalAnnoConstructor(java.lang.Object obj)
          Construct a HorizontalAnnoConstructor using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addFeedbackPoint(IPoint point)
          Adds a point to the display feedback.
 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.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          Name of the annotation constructor.
 int getSketchGeometryType()
          The type of geometry used for the edit sketch constructor.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 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 release()
          Release a HorizontalAnnoConstructor.
 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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HorizontalAnnoConstructor

public HorizontalAnnoConstructor()
                          throws java.io.IOException,
                                 java.net.UnknownHostException
Constructs a HorizontalAnnoConstructor using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

HorizontalAnnoConstructor

public HorizontalAnnoConstructor(java.lang.Object obj)
                          throws java.io.IOException
Construct a HorizontalAnnoConstructor using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to HorizontalAnnoConstructor.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems HorizontalAnnoConstructor theHorizontalAnnoConstructor = (HorizontalAnnoConstructor) obj;
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a HorizontalAnnoConstructor.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

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.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.