|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.IRowBufferProxy
com.esri.arcgis.geodatabase.IRowProxy
com.esri.arcgis.geodatabase.IObjectProxy
com.esri.arcgis.geodatabase.IFeatureProxy
Provides access to members that return and set properties of a feature.
| 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 | |
|
IFeatureProxy()
For internal use only |
|
IFeatureProxy(java.lang.Object obj)
|
protected |
IFeatureProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IFeatureProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IFeatureProxy(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. |
IEnvelope |
getExtent()
The extent of the feature. |
int |
getFeatureType()
The type of the feature. |
IGeometry |
getShape()
A reference to the default shape for the feature. |
IGeometry |
getShapeCopy()
A cloned copy of the default shape for the feature. |
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 |
setShapeByRef(IGeometry shape)
A reference to the default shape for the feature. |
| Methods inherited from class com.esri.arcgis.geodatabase.IObjectProxy |
esri_getClass |
| Methods inherited from class com.esri.arcgis.geodatabase.IRowProxy |
delete, getOID, getTable, isHasOID, store |
| Methods inherited from class com.esri.arcgis.geodatabase.IRowBufferProxy |
getFields, getValue, setValue |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.geodatabase.IObject |
esri_getClass |
| Methods inherited from interface com.esri.arcgis.geodatabase.IRow |
delete, getOID, getTable, isHasOID, store |
| Methods inherited from interface com.esri.arcgis.geodatabase.IRowBuffer |
getFields, getValue, setValue |
| Field Detail |
public static final java.lang.Class targetClass
| Constructor Detail |
public IFeatureProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IFeatureProxy()
public IFeatureProxy(java.lang.Object obj)
throws java.io.IOException
protected IFeatureProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IFeatureProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class IObjectProxyjava.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class IObjectProxyjava.io.IOException
public IGeometry getShapeCopy()
throws java.io.IOException,
AutomationException
IFeature
getShapeCopy in interface IFeaturejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getShape()
throws java.io.IOException,
AutomationException
IFeatureThe basic process to change the shape of a feature is:
1) Get the feature's existing geometry through IFeature.Shape or create a new geometry
2) Modify the geometry
3) Set the feature's geometry using IFeature.Shape
4) Store the feature
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.
getShape in interface IFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setShapeByRef(IGeometry shape)
throws java.io.IOException,
AutomationException
IFeature
setShapeByRef in interface IFeatureshape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws java.io.IOException,
AutomationException
IFeature
getExtent in interface IFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getFeatureType()
throws java.io.IOException,
AutomationException
IFeature
getFeatureType in interface IFeatureAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||