|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IRowEditProxy com.esri.arcgis.geodatabase.IFeatureEditProxy com.esri.arcgis.geodatabase.IFeatureEdit2Proxy
public class IFeatureEdit2Proxy
Provides access to members implemented to customize feature editing.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IFeatureEdit2Proxy()
|
|
IFeatureEdit2Proxy(Object obj)
|
protected |
IFeatureEdit2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
removeListener(String iidStr,
Object theListener)
|
ISet |
splitWithUpdate(IGeometry geometry)
Split the feature by updating the split feature and creating new feature(s) for the smaller portion. |
Methods inherited from class com.esri.arcgis.geodatabase.IFeatureEditProxy |
---|
beginMoveSet, moveSet, rotateSet, split, splitAttributes |
Methods inherited from class com.esri.arcgis.geodatabase.IRowEditProxy |
---|
deleteSet |
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 |
Methods inherited from interface com.esri.arcgis.geodatabase.IFeatureEdit |
---|
beginMoveSet, moveSet, rotateSet, split, splitAttributes |
Methods inherited from interface com.esri.arcgis.geodatabase.IRowEdit |
---|
deleteSet |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IFeatureEdit2Proxy()
public IFeatureEdit2Proxy(Object obj) throws IOException
IOException
protected IFeatureEdit2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IFeatureEditProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IFeatureEditProxy
IOException
public ISet splitWithUpdate(IGeometry geometry) throws IOException, AutomationException
SplitWithUpdate 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). Unlike the IFeatureEdit::Split method, SplitWithUpdate does not delete the original feature and insert two new features. When a feature is split, its geometry is modified and a new feature, with a new ObjectID, is inserted comprised of the remaining geometry. The geometry of the original feature will be modified to represent the largest section of the split geometry. For example, if a polyline is split at 60% along its length, the original feature's geometry will be modified to represent the 60% section and a new feature will be created with a geometry representing the remaining 40%.
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.
splitWithUpdate
in interface IFeatureEdit2
geometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |