com.esri.arcgis.carto
Class DimensionFeature

java.lang.Object
  extended by com.esri.arcgis.carto.DimensionFeature
All Implemented Interfaces:
IDimensionFeature, IFeature, IFeatureBuffer, IFeatureChanges, IFeatureDraw, IFeatureEdit, IFeatureEdit2, IFeatureEvents, IFeatureProject, IFeatureSimplify, IFeatureSimplify2, IObject, IRelatedObjectEvents, IRow, IRowBuffer, IRowChanges, IRowCompare, IRowEdit, IRowEvents, IRowSubtypes, IValidate, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class DimensionFeature
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRowBuffer, IRow, IRowEdit, IRowEvents, IValidate, IRowSubtypes, IObject, IRelatedObjectEvents, IFeature, IFeatureBuffer, IFeatureDraw, IFeatureEdit, IFeatureEdit2, IFeatureChanges, IFeatureEvents, IDimensionFeature, IRowChanges, ISupportErrorInfo, IRowCompare, IFeatureSimplify, IFeatureSimplify2, IFeatureProject

COM Class 'DimensionFeature'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'Esri Dimension Feature class.' 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.geodatabase.IRowEvents
IID, IID8c387320_12c6_11d2_aad1_00c04fa37b81, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IValidate
IID, IID80e4ff2c_475d_11d2_9932_0000f80372b4, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRowSubtypes
IID, IIDd3f18540_bf77_11d2_aaf2_00c04fa37b82, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRelatedObjectEvents
IID, IID22b0069a_8895_11d2_8a0d_006097aff44e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeature
IID, IIDd4803ee9_79f4_11d0_97fc_0080c7f79481, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IObject
IID1afcdb34_ac09_11d2_8a1e_006097aff44e
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRow
IIDfcb01cb4_9f0b_11d0_bec7_00805f7c4268
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRowBuffer
IID93684651_1a83_11d1_8802_0000f877762d
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureBuffer
IID, IID956a4e53_2482_11d1_89d8_006097aff44e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureDraw
IID, IIDb0e8d294_3a9c_11d1_9aa1_080009ec734b, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureEdit2
IID, IID2892ce6b_96d6_45d6_9002_7a6cc91968ad, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureEdit
IID33848e00_983b_11d1_8463_0000f875b9c6
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRowEdit
IID192ada11_33f1_11d3_9f6a_00c04f6bdf0c
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureChanges
IID, IID022f7463_69fa_11d3_9fd0_00c04f6bdd84, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureEvents
IID, IID46097234_1224_11d2_aacf_00c04fa37b81, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IDimensionFeature
IID, IID5c305710_da7f_11d3_80ce_00c04f601565, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRowChanges
IID, IID022f7462_69fa_11d3_9fd0_00c04f6bdd84, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRowCompare
IID, IID7d3e2831_6c5a_11d3_8a98_000000000000, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureSimplify2
IID, IID0a9035f6_9e34_473d_bdfb_35663ea162b7, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureSimplify
IID10e6443f_fecb_11d3_9fa5_00c04f6bdf0c
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureProject
IID, IID0ad74a92_b396_4819_ac73_bb6ccc5ca326, xxDummy
 
Constructor Summary
DimensionFeature()
          Constructs a DimensionFeature using ArcGIS Engine.
DimensionFeature(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DimensionFeature theDimensionFeature = (DimensionFeature) obj;
 
Method Summary
 IDisplayFeedback beginMoveSet(ISet features, IPoint start)
          Prepares the set of features for a move operation.
 void delete()
          Deletes the row.
 void deleteSet(ISet rows)
          Deletes the set of rows.
 void draw(int drawPhase, IDisplay display, ISymbol symbol, boolean symbolInstalled, IGeometry geometry, int drawStyle)
          Draws the feature on the display.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IObjectClass esri_getClass()
          The Object Class for the row.
static java.lang.String getClsid()
          getClsid.
 double getCustomLength()
          The dimension feature's custom or user-defined length.
 int getDimensionLineDisplay()
          The dimension line display for the feature.
 IDimensionShape getDimensionShape()
          The dimension feature's shape.
 int getDimensionType()
          The dimension type of the feature.
 int getExtensionLineDisplay()
          The extension line display of the feature.
 IEnvelope getExtent()
          The extent of the feature.
 int getFeatureType()
          The type of the feature.
 IFields getFields()
          The fields Collection for this row buffer.
 IInvalidArea getInvalidArea()
          The area to be drawn.
 IFields getInvalidFields()
          Returns all invalid fields.
 IEnumRule getInvalidRules()
          The set of all invalid rules.
 IEnumRule getInvalidRulesByField(java.lang.String fieldName)
          The set of all invalid rules for the specified field.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 double getLength()
          The dimension feature's length.
 int getMarkerDisplay()
          The arrow display of the feature.
 int getOID()
          The OID for the row.
 IGeometry getOriginalShape()
          The original shape for the feature.
 java.lang.Object getOriginalValue(int index)
          The value of the field at the specified index immediately after the last call to Store on the Row object.
 IGeometry getShape()
          A reference to the default shape for the feature.
 IGeometry getShapeCopy()
          A cloned copy of the default shape for the feature.
 int getStyleID()
          The dimension feature's style Id.
 int getSubtypeCode()
          The subtype for the row.
 ITable getTable()
          The Table for the row.
 java.lang.Object getValue(int index)
          The value of the field with the specified index.
 int hashCode()
          the hashcode for this object
 void initDefaultValues()
          The default values of the row.
 void initShape()
          Initialize the shape.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isEqual(IRow otherRow)
          Indicates if the rows (which may be from two different versions) are the same (oid + values).
 boolean isHasOID()
          Indicates if the row has an OID.
 boolean isShapeChanged()
          Indicates if the shape has changed.
 boolean isSimpleGeometry(IGeometry geometry, int[] reason)
          Returns true if the input geometry is simple according to the rules appropriate for this feature.
 boolean isUseCustomLength()
          Indicates if this dimension feature displays the dimension length or a custom length.
 boolean isValueChanged(int index)
          Indicates whether the value of the field at the specified index has changed since the last call to Store on the Row object.
 void moveSet(ISet features, ILine moveVector)
          Moves the set of features through a distance and direction specified by moveVector.
 void onChanged()
          An after event that is fired when a custom object is changed.
 void onDelete()
          An after event that is fired when a custom object is deleted.
 void onInitialize()
          An after event that is fired when a custom object is initialized.
 void onMerge()
          An after event that is fired when Features have been merged, on each deleted input Feature.
 void onNew()
          An after event that is fired when a custom object is Stored for the first time.
 void onSplit()
          An after event that is fired when a Feature is split, on the deleted input Feature.
 void onValidate()
          An after event that is fired when a custom object is validated.
 void project(ISpatialReference outputSR)
          Project the feature geometry to the provided spatial reference.
 void relatedObjectChanged(IRelationshipClass relationshipClass, IObject objectThatChanged)
          Notifies this object that a related object changed.
 void relatedObjectMoved(IRelationshipClass relationshipClass, IObject objectThatChanged, ILine moveVector)
          Notifies this object that a related object moved.
 void relatedObjectRotated(IRelationshipClass relationshipClass, IObject objectThatChanged, IPoint origin, double angle)
          Notifies this object that a related object rotated.
 void relatedObjectSetMoved(IRelationshipClass relationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, ILine moveVector)
          Notifies this object that a set of objects with relationships to the input set of objects moved.
 void relatedObjectSetRotated(IRelationshipClass relationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, IPoint origin, double angle)
          Notifies this object that a set of objects with relationships to the input set of objects rotated.
 void release()
          Release a DimensionFeature.
 void rotateSet(ISet features, IPoint origin, double angle)
          Rotates the set of features according to the specified origin and angle.
 void setCustomLength(double length)
          The dimension feature's custom or user-defined length.
 void setDimensionLineDisplay(int displayOption)
          The dimension line display for the feature.
 void setDimensionShape(IDimensionShape shape)
          The dimension feature's shape.
 void setDimensionType(int type)
          The dimension type of the feature.
 void setExtensionLineDisplay(int displayOption)
          The extension line display of the feature.
 void setInvalidAreaByRef(IInvalidArea invalidArea)
          The area to be drawn.
 void setMarkerDisplay(int displayOption)
          The arrow display of the feature.
 void setShapeByRef(IGeometry shape)
          A reference to the default shape for the feature.
 void setStyleID(int iD)
          The dimension feature's style Id.
 void setSubtypeCode(int subtypeCode)
          The subtype for the row.
 void setUseCustomLength(boolean use)
          Indicates if this dimension feature displays the dimension length or a custom length.
 void setValue(int index, java.lang.Object value)
          The value of the field with the specified index.
 void simplifyGeometry(IGeometry geometry)
          Simplifies the input geometry using the rules appropriate for this feature.
 ISet split(IGeometry point)
          Split the feature.
 void splitAttributes(IFeature baseFeature)
          Split the feature attributes.
 ISet splitWithUpdate(IGeometry geometry)
          Split the feature by updating the split feature and creating new feature(s) for the smaller portion.
 void store()
          Stores the row.
 boolean validate(java.lang.String[] errorMessage)
          Validates the row.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DimensionFeature

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

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

DimensionFeature

public DimensionFeature(java.lang.Object obj)
                 throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DimensionFeature theDimensionFeature = (DimensionFeature) obj;

Construct a DimensionFeature using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DimensionFeature.

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

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

getValue

public java.lang.Object getValue(int index)
                          throws java.io.IOException,
                                 AutomationException
The value of the field with the specified index.

Specified by:
getValue in interface IRowBuffer
Parameters:
index - The index (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValue

public void setValue(int index,
                     java.lang.Object value)
              throws java.io.IOException,
                     AutomationException
The value of the field with the specified index.

Specified by:
setValue in interface IRowBuffer
Parameters:
index - The index (in)
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFields

public IFields getFields()
                  throws java.io.IOException,
                         AutomationException
The fields Collection for this row buffer.

Specified by:
getFields in interface IRowBuffer
Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasOID

public boolean isHasOID()
                 throws java.io.IOException,
                        AutomationException
Indicates if the row has an OID.

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

getOID

public int getOID()
           throws java.io.IOException,
                  AutomationException
The OID for the row.

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

getTable

public ITable getTable()
                throws java.io.IOException,
                       AutomationException
The Table for the row.

Specified by:
getTable in interface IRow
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

store

public void store()
           throws java.io.IOException,
                  AutomationException
Stores the row.

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

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Deletes the row.

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

deleteSet

public void deleteSet(ISet rows)
               throws java.io.IOException,
                      AutomationException
Deletes the set of rows.

Specified by:
deleteSet in interface IRowEdit
Parameters:
rows - A reference to a com.esri.arcgis.system.ISet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onChanged

public void onChanged()
               throws java.io.IOException,
                      AutomationException
An after event that is fired when a custom object is changed.

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

onDelete

public void onDelete()
              throws java.io.IOException,
                     AutomationException
An after event that is fired when a custom object is deleted.

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

onInitialize

public void onInitialize()
                  throws java.io.IOException,
                         AutomationException
An after event that is fired when a custom object is initialized.

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

onNew

public void onNew()
           throws java.io.IOException,
                  AutomationException
An after event that is fired when a custom object is Stored for the first time.

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

onValidate

public void onValidate()
                throws java.io.IOException,
                       AutomationException
An after event that is fired when a custom object is validated.

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

getInvalidFields

public IFields getInvalidFields()
                         throws java.io.IOException,
                                AutomationException
Returns all invalid fields.

Specified by:
getInvalidFields in interface IValidate
Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInvalidRules

public IEnumRule getInvalidRules()
                          throws java.io.IOException,
                                 AutomationException
The set of all invalid rules.

Specified by:
getInvalidRules in interface IValidate
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumRule
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInvalidRulesByField

public IEnumRule getInvalidRulesByField(java.lang.String fieldName)
                                 throws java.io.IOException,
                                        AutomationException
The set of all invalid rules for the specified field.

Specified by:
getInvalidRulesByField in interface IValidate
Parameters:
fieldName - The fieldName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumRule
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validate

public boolean validate(java.lang.String[] errorMessage)
                 throws java.io.IOException,
                        AutomationException
Validates the row.

Specified by:
validate in interface IValidate
Parameters:
errorMessage - The errorMessage (out: use single element array)
Returns:
The isValid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubtypeCode

public int getSubtypeCode()
                   throws java.io.IOException,
                          AutomationException
The subtype for the row.

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

setSubtypeCode

public void setSubtypeCode(int subtypeCode)
                    throws java.io.IOException,
                           AutomationException
The subtype for the row.

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

initDefaultValues

public void initDefaultValues()
                       throws java.io.IOException,
                              AutomationException
The default values of the row.

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

esri_getClass

public IObjectClass esri_getClass()
                           throws java.io.IOException,
                                  AutomationException
The Object Class for the row.

Specified by:
esri_getClass in interface IObject
Returns:
A reference to a com.esri.arcgis.geodatabase.IObjectClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectChanged

public void relatedObjectChanged(IRelationshipClass relationshipClass,
                                 IObject objectThatChanged)
                          throws java.io.IOException,
                                 AutomationException
Notifies this object that a related object changed.

Specified by:
relatedObjectChanged in interface IRelatedObjectEvents
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectMoved

public void relatedObjectMoved(IRelationshipClass relationshipClass,
                               IObject objectThatChanged,
                               ILine moveVector)
                        throws java.io.IOException,
                               AutomationException
Notifies this object that a related object moved.

Specified by:
relatedObjectMoved in interface IRelatedObjectEvents
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)
moveVector - A reference to a com.esri.arcgis.geometry.ILine (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectSetMoved

public void relatedObjectSetMoved(IRelationshipClass relationshipClass,
                                  ISet objectsThatNeedToChange,
                                  ISet objectsThatChanged,
                                  ILine moveVector)
                           throws java.io.IOException,
                                  AutomationException
Notifies this object that a set of objects with relationships to the input set of objects moved.

Specified by:
relatedObjectSetMoved in interface IRelatedObjectEvents
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
objectsThatNeedToChange - A reference to a com.esri.arcgis.system.ISet (in)
objectsThatChanged - A reference to a com.esri.arcgis.system.ISet (in)
moveVector - A reference to a com.esri.arcgis.geometry.ILine (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectRotated

public void relatedObjectRotated(IRelationshipClass relationshipClass,
                                 IObject objectThatChanged,
                                 IPoint origin,
                                 double angle)
                          throws java.io.IOException,
                                 AutomationException
Notifies this object that a related object rotated.

Specified by:
relatedObjectRotated in interface IRelatedObjectEvents
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)
origin - A reference to a com.esri.arcgis.geometry.IPoint (in)
angle - The angle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectSetRotated

public void relatedObjectSetRotated(IRelationshipClass relationshipClass,
                                    ISet objectsThatNeedToChange,
                                    ISet objectsThatChanged,
                                    IPoint origin,
                                    double angle)
                             throws java.io.IOException,
                                    AutomationException
Notifies this object that a set of objects with relationships to the input set of objects rotated.

Specified by:
relatedObjectSetRotated in interface IRelatedObjectEvents
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
objectsThatNeedToChange - A reference to a com.esri.arcgis.system.ISet (in)
objectsThatChanged - A reference to a com.esri.arcgis.system.ISet (in)
origin - A reference to a com.esri.arcgis.geometry.IPoint (in)
angle - The angle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getShapeCopy

public IGeometry getShapeCopy()
                       throws java.io.IOException,
                              AutomationException
A cloned copy of the default shape for the feature.

Specified by:
getShapeCopy in interface IFeature
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getShape

public IGeometry getShape()
                   throws java.io.IOException,
                          AutomationException
A reference to the default shape for the feature.

Specified by:
getShape in interface IFeature
Specified by:
getShape in interface IFeatureBuffer
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShapeByRef

public void setShapeByRef(IGeometry shape)
                   throws java.io.IOException,
                          AutomationException
A reference to the default shape for the feature.

Specified by:
setShapeByRef in interface IFeature
Specified by:
setShapeByRef in interface IFeatureBuffer
Parameters:
shape - 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.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The extent of the feature.

Specified by:
getExtent in interface IFeature
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureType

public int getFeatureType()
                   throws java.io.IOException,
                          AutomationException
The type of the feature.

Specified by:
getFeatureType in interface IFeature
Returns:
A com.esri.arcgis.geodatabase.esriFeatureType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

public void draw(int drawPhase,
                 IDisplay display,
                 ISymbol symbol,
                 boolean symbolInstalled,
                 IGeometry geometry,
                 int drawStyle)
          throws java.io.IOException,
                 AutomationException
Draws the feature on the display.

Specified by:
draw in interface IFeatureDraw
Parameters:
drawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
symbolInstalled - The symbolInstalled (in)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
drawStyle - A com.esri.arcgis.geodatabase.esriDrawStyle constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setInvalidAreaByRef

public void setInvalidAreaByRef(IInvalidArea invalidArea)
                         throws java.io.IOException,
                                AutomationException
The area to be drawn.

Specified by:
setInvalidAreaByRef in interface IFeatureDraw
Parameters:
invalidArea - A reference to a com.esri.arcgis.geodatabase.IInvalidArea (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInvalidArea

public IInvalidArea getInvalidArea()
                            throws java.io.IOException,
                                   AutomationException
The area to be drawn.

Specified by:
getInvalidArea in interface IFeatureDraw
Returns:
A reference to a com.esri.arcgis.geodatabase.IInvalidArea
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beginMoveSet

public IDisplayFeedback beginMoveSet(ISet features,
                                     IPoint start)
                              throws java.io.IOException,
                                     AutomationException
Prepares the set of features for a move operation.

Specified by:
beginMoveSet in interface IFeatureEdit
Parameters:
features - A reference to a com.esri.arcgis.system.ISet (in)
start - A reference to a com.esri.arcgis.geometry.IPoint (in)
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.

moveSet

public void moveSet(ISet features,
                    ILine moveVector)
             throws java.io.IOException,
                    AutomationException
Moves the set of features through a distance and direction specified by moveVector.

Specified by:
moveSet in interface IFeatureEdit
Parameters:
features - A reference to a com.esri.arcgis.system.ISet (in)
moveVector - A reference to a com.esri.arcgis.geometry.ILine (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rotateSet

public void rotateSet(ISet features,
                      IPoint origin,
                      double angle)
               throws java.io.IOException,
                      AutomationException
Rotates the set of features according to the specified origin and angle.

Specified by:
rotateSet in interface IFeatureEdit
Parameters:
features - A reference to a com.esri.arcgis.system.ISet (in)
origin - A reference to a com.esri.arcgis.geometry.IPoint (in)
angle - The angle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

split

public ISet split(IGeometry point)
           throws java.io.IOException,
                  AutomationException
Split the feature.

Specified by:
split in interface IFeatureEdit
Parameters:
point - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

splitAttributes

public void splitAttributes(IFeature baseFeature)
                     throws java.io.IOException,
                            AutomationException
Split the feature attributes.

Specified by:
splitAttributes in interface IFeatureEdit
Parameters:
baseFeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

splitWithUpdate

public ISet splitWithUpdate(IGeometry geometry)
                     throws java.io.IOException,
                            AutomationException
Split the feature by updating the split feature and creating new feature(s) for the smaller portion.

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

isShapeChanged

public boolean isShapeChanged()
                       throws java.io.IOException,
                              AutomationException
Indicates if the shape has changed.

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

getOriginalShape

public IGeometry getOriginalShape()
                           throws java.io.IOException,
                                  AutomationException
The original shape for the feature.

Specified by:
getOriginalShape in interface IFeatureChanges
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initShape

public void initShape()
               throws java.io.IOException,
                      AutomationException
Initialize the shape.

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

onSplit

public void onSplit()
             throws java.io.IOException,
                    AutomationException
An after event that is fired when a Feature is split, on the deleted input Feature.

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

onMerge

public void onMerge()
             throws java.io.IOException,
                    AutomationException
An after event that is fired when Features have been merged, on each deleted input Feature.

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

setDimensionShape

public void setDimensionShape(IDimensionShape shape)
                       throws java.io.IOException,
                              AutomationException
The dimension feature's shape.

Specified by:
setDimensionShape in interface IDimensionFeature
Parameters:
shape - A reference to a com.esri.arcgis.carto.IDimensionShape (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionShape

public IDimensionShape getDimensionShape()
                                  throws java.io.IOException,
                                         AutomationException
The dimension feature's shape.

Specified by:
getDimensionShape in interface IDimensionFeature
Returns:
A reference to a com.esri.arcgis.carto.IDimensionShape
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStyleID

public int getStyleID()
               throws java.io.IOException,
                      AutomationException
The dimension feature's style Id.

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

setStyleID

public void setStyleID(int iD)
                throws java.io.IOException,
                       AutomationException
The dimension feature's style Id.

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

getLength

public double getLength()
                 throws java.io.IOException,
                        AutomationException
The dimension feature's length.

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

getCustomLength

public double getCustomLength()
                       throws java.io.IOException,
                              AutomationException
The dimension feature's custom or user-defined length.

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

setCustomLength

public void setCustomLength(double length)
                     throws java.io.IOException,
                            AutomationException
The dimension feature's custom or user-defined length.

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

isUseCustomLength

public boolean isUseCustomLength()
                          throws java.io.IOException,
                                 AutomationException
Indicates if this dimension feature displays the dimension length or a custom length.

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

setUseCustomLength

public void setUseCustomLength(boolean use)
                        throws java.io.IOException,
                               AutomationException
Indicates if this dimension feature displays the dimension length or a custom length.

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

setDimensionLineDisplay

public void setDimensionLineDisplay(int displayOption)
                             throws java.io.IOException,
                                    AutomationException
The dimension line display for the feature.

Specified by:
setDimensionLineDisplay in interface IDimensionFeature
Parameters:
displayOption - A com.esri.arcgis.carto.esriDimensionDisplay constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionLineDisplay

public int getDimensionLineDisplay()
                            throws java.io.IOException,
                                   AutomationException
The dimension line display for the feature.

Specified by:
getDimensionLineDisplay in interface IDimensionFeature
Returns:
A com.esri.arcgis.carto.esriDimensionDisplay constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtensionLineDisplay

public void setExtensionLineDisplay(int displayOption)
                             throws java.io.IOException,
                                    AutomationException
The extension line display of the feature.

Specified by:
setExtensionLineDisplay in interface IDimensionFeature
Parameters:
displayOption - A com.esri.arcgis.carto.esriDimensionDisplay constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionLineDisplay

public int getExtensionLineDisplay()
                            throws java.io.IOException,
                                   AutomationException
The extension line display of the feature.

Specified by:
getExtensionLineDisplay in interface IDimensionFeature
Returns:
A com.esri.arcgis.carto.esriDimensionDisplay constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMarkerDisplay

public void setMarkerDisplay(int displayOption)
                      throws java.io.IOException,
                             AutomationException
The arrow display of the feature.

Specified by:
setMarkerDisplay in interface IDimensionFeature
Parameters:
displayOption - A com.esri.arcgis.carto.esriDimensionDisplay constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMarkerDisplay

public int getMarkerDisplay()
                     throws java.io.IOException,
                            AutomationException
The arrow display of the feature.

Specified by:
getMarkerDisplay in interface IDimensionFeature
Returns:
A com.esri.arcgis.carto.esriDimensionDisplay 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 dimension type of the feature.

Specified by:
getDimensionType in interface IDimensionFeature
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.

setDimensionType

public void setDimensionType(int type)
                      throws java.io.IOException,
                             AutomationException
The dimension type of the feature.

Specified by:
setDimensionType in interface IDimensionFeature
Parameters:
type - A com.esri.arcgis.carto.esriDimensionType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isValueChanged

public boolean isValueChanged(int index)
                       throws java.io.IOException,
                              AutomationException
Indicates whether the value of the field at the specified index has changed since the last call to Store on the Row object.

Specified by:
isValueChanged in interface IRowChanges
Parameters:
index - The index (in)
Returns:
The changed
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOriginalValue

public java.lang.Object getOriginalValue(int index)
                                  throws java.io.IOException,
                                         AutomationException
The value of the field at the specified index immediately after the last call to Store on the Row object.

Specified by:
getOriginalValue in interface IRowChanges
Parameters:
index - The index (in)
Returns:
A Variant
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.

isEqual

public boolean isEqual(IRow otherRow)
                throws java.io.IOException,
                       AutomationException
Indicates if the rows (which may be from two different versions) are the same (oid + values).

Specified by:
isEqual in interface IRowCompare
Parameters:
otherRow - A reference to a com.esri.arcgis.geodatabase.IRow (in)
Returns:
The isEqual
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

simplifyGeometry

public void simplifyGeometry(IGeometry geometry)
                      throws java.io.IOException,
                             AutomationException
Simplifies the input geometry using the rules appropriate for this feature.

Specified by:
simplifyGeometry in interface IFeatureSimplify
Parameters:
geometry - 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.

isSimpleGeometry

public boolean isSimpleGeometry(IGeometry geometry,
                                int[] reason)
                         throws java.io.IOException,
                                AutomationException
Returns true if the input geometry is simple according to the rules appropriate for this feature.

Specified by:
isSimpleGeometry in interface IFeatureSimplify2
Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
reason - A com.esri.arcgis.geometry.esriNonSimpleReasonEnum constant (out: use single element array)
Returns:
The isSimpleGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

project

public void project(ISpatialReference outputSR)
             throws java.io.IOException,
                    AutomationException
Project the feature geometry to the provided spatial reference.

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