com.esri.arcgis.editor
Class LinearConstructor

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

public class LinearConstructor
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDimensionConstructor, ISupportErrorInfo

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

Description 'A dimension feature constructor for creating linear dimension features.' 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.IDimensionConstructor
IID, IID3099c3ce_6630_4065_92b0_9009eaab1303, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
LinearConstructor()
          Constructs a LinearConstructor using ArcGIS Engine.
LinearConstructor(java.lang.Object obj)
          Construct a LinearConstructor 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 constructDimension(IDimensionFeature feature, IGeometry geometry, IDimensionStyle style)
          Creates the dimension shape for a dimension feature given the geometry constructed in the dimension constructor.
 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.
 int getDimensionType()
          The type of dimension created with the dimension constructor.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          Name of the dimension 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 dimension feature can be constructed given the number of points in the edit sketch.
 boolean isHasFeedback()
          Indicates if the constructor will use a custom feedback.
 void release()
          Release a LinearConstructor.
 void shutdown()
          The constructor start event.
 void startFeedback(IPoint point, IDimensionStyle style)
          Starts the display feedback for the dimension constructor.
 void startFeedbackFromShape(IGeometry shape, IDimensionStyle style)
          Starts the display feedback for the dimension constructor from an existing geometry.
 void startup(IDimensionEditExtension extension)
          The dimension editor extension.
 void stopFeedback()
          Stops the display feedback.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearConstructor

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

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

LinearConstructor

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems LinearConstructor theLinearConstructor = (LinearConstructor) 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 LinearConstructor.

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

getName

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

Specified by:
getName in interface IDimensionConstructor
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 IDimensionConstructor
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.

getDimensionType

public int getDimensionType()
                     throws java.io.IOException,
                            AutomationException
The type of dimension created with the dimension constructor.

Specified by:
getDimensionType in interface IDimensionConstructor
Returns:
A com.esri.arcgis.carto.esriDimensionType 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 dimension feature can be constructed given the number of points in the edit sketch.

Specified by:
isCanFinish in interface IDimensionConstructor
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.

constructDimension

public void constructDimension(IDimensionFeature feature,
                               IGeometry geometry,
                               IDimensionStyle style)
                        throws java.io.IOException,
                               AutomationException
Creates the dimension shape for a dimension feature given the geometry constructed in the dimension constructor.

Specified by:
constructDimension in interface IDimensionConstructor
Parameters:
feature - A reference to a com.esri.arcgis.carto.IDimensionFeature (in)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
style - A reference to a com.esri.arcgis.carto.IDimensionStyle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startup

public void startup(IDimensionEditExtension extension)
             throws java.io.IOException,
                    AutomationException
The dimension editor extension.

Specified by:
startup in interface IDimensionConstructor
Parameters:
extension - A reference to a com.esri.arcgis.editor.IDimensionEditExtension (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 IDimensionConstructor
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 IDimensionConstructor
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,
                          IDimensionStyle style)
                   throws java.io.IOException,
                          AutomationException
Starts the display feedback for the dimension constructor.

Specified by:
startFeedback in interface IDimensionConstructor
Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
style - A reference to a com.esri.arcgis.carto.IDimensionStyle (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 IDimensionConstructor
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.

stopFeedback

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

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

isHasFeedback

public boolean isHasFeedback()
                      throws java.io.IOException,
                             AutomationException
Indicates if the constructor will use a custom feedback.

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

startFeedbackFromShape

public void startFeedbackFromShape(IGeometry shape,
                                   IDimensionStyle style)
                            throws java.io.IOException,
                                   AutomationException
Starts the display feedback for the dimension constructor from an existing geometry.

Specified by:
startFeedbackFromShape in interface IDimensionConstructor
Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
style - A reference to a com.esri.arcgis.carto.IDimensionStyle (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.