com.esri.arcgis.geodatabase
Class IFeatureEditProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.geodatabase.IRowEditProxy
          extended bycom.esri.arcgis.geodatabase.IFeatureEditProxy
All Implemented Interfaces:
java.io.Externalizable, IFeatureEdit, IRowEdit, java.io.Serializable
Direct Known Subclasses:
IFeatureEdit2Proxy

public class IFeatureEditProxy
extends IRowEditProxy
implements IFeatureEdit, java.io.Serializable

Provides access to members implemented to customize feature editing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  IFeatureEditProxy()
          For internal use only
  IFeatureEditProxy(java.lang.Object obj)
           
protected IFeatureEditProxy(java.lang.Object obj, java.lang.String iid)
           
  IFeatureEditProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IFeatureEditProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Adds a Java object to be a listener for a specific kind of event generated by the COM object.
 IDisplayFeedback beginMoveSet(ISet features, IPoint start)
          Prepares the set of features for a move operation.
 void moveSet(ISet features, ILine moveVector)
          Moves the set of features through a distance and direction specified by moveVector.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 void rotateSet(ISet features, IPoint origin, double angle)
          Rotates the set of features according to the specified origin and angle.
 ISet split(IGeometry point)
          Split the feature.
 void splitAttributes(IFeature baseFeature)
          Split the feature attributes.
 
Methods inherited from class com.esri.arcgis.geodatabase.IRowEditProxy
deleteSet
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geodatabase.IRowEdit
deleteSet
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IFeatureEditProxy

public IFeatureEditProxy(java.lang.String CLSID,
                         java.lang.String host,
                         AuthInfo authInfo)
                  throws java.net.UnknownHostException,
                         java.io.IOException

IFeatureEditProxy

public IFeatureEditProxy()
For internal use only


IFeatureEditProxy

public IFeatureEditProxy(java.lang.Object obj)
                  throws java.io.IOException

IFeatureEditProxy

protected IFeatureEditProxy(java.lang.Object obj,
                            java.lang.String iid)
                     throws java.io.IOException

IFeatureEditProxy

protected IFeatureEditProxy(java.lang.String CLSID,
                            java.lang.String iid,
                            java.lang.String host,
                            AuthInfo authInfo)
                     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
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class IRowEditProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class IRowEditProxy
Throws:
java.io.IOException

beginMoveSet

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

Supported Platforms

Windows, Solaris, Linux

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
Description copied from interface: IFeatureEdit
Moves the set of features through a distance and direction specified by moveVector.

Supported Platforms

Windows, Solaris, Linux

Remarks

All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.

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
Description copied from interface: IFeatureEdit
Rotates the set of features according to the specified origin and angle.

Supported Platforms

Windows, Solaris, Linux

Remarks

All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.

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:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

split

public ISet split(IGeometry point)
           throws java.io.IOException,
                  AutomationException
Description copied from interface: IFeatureEdit
Split the feature.

Supported Platforms

Windows, Solaris, Linux

Remarks

Split divides polylines by points or polygons by polylines, other kinds of split geometries are not supported (see IGeometry::GeometryType property for an enumeration of geometry types).  The new features are automatically stored and the old features deleted.  When a feature is split, the feature is deleted and two new features are created.  The ObjectID of the deleted feature is not reused, the two new features will have new ObjectID values.  You can define a policy on how the other attribute values of the new features are populated; this can be done with ArcCatalog or by using the Domain and Attribute Rule objects.

It is not necessary to call SplitAttributes after calling Split, this is done automatically.

All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.

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:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

splitAttributes

public void splitAttributes(IFeature baseFeature)
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IFeatureEdit
Split the feature attributes.

Supported Platforms

Windows, Solaris, Linux

Remarks

All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.

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.