|
|||||||||
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.controls.IEngineObjectInspectorProxy
public class IEngineObjectInspectorProxy
Provides access to members that control a custom feature's property inspector.
This interface is new at ArcGIS 9.3.
The IEngineObjectInspector interface is an optional interface that provides the ability to replace the default ObjectInspector with a custom one.
If you extend a feature class with custom properties, you may want to implement the IEngineObjectInspector interface so that you can display and edit those properties using the ControlsEditingAttributeCommand.
In order to create a custom feature inspector, both the IEngineObjectInspector and IClassExtension interfaces must be implemented.
Use the hWnd property to set the control you want to display in the customizable area. You can then customize the actions of the Feature Inspector using the Inspect method. This method is called whenever a feature class or feature is clicked in the Tree View.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IEngineObjectInspectorProxy()
|
|
IEngineObjectInspectorProxy(Object obj)
|
protected |
IEngineObjectInspectorProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
clear()
Clear the inspector before inspecting another object. |
void |
copy(IRow srcRow)
Copies the values from srcRow to the row being edited. |
int |
getHWnd()
The window handle for the inspector. |
void |
inspect(IEngineEnumRow objects,
IEngineEditor editor)
Inspects the properties of the features. |
void |
removeListener(String iidStr,
Object theListener)
|
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 |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IEngineObjectInspectorProxy()
public IEngineObjectInspectorProxy(Object obj) throws IOException
IOException
protected IEngineObjectInspectorProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public int getHWnd() throws IOException, AutomationException
The Object Inpector reads this property to determine what it will display in its right pane. Custom Object Inspectors must supply the hWnd property of the window or control that is going to be displayed.
getHWnd
in interface IEngineObjectInspector
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void inspect(IEngineEnumRow objects, IEngineEditor editor) throws IOException, AutomationException
inspect
in interface IEngineObjectInspector
objects
- A reference to a com.esri.arcgis.controls.IEngineEnumRow (in)editor
- A reference to a com.esri.arcgis.controls.IEngineEditor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws IOException, AutomationException
clear
in interface IEngineObjectInspector
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void copy(IRow srcRow) throws IOException, AutomationException
Use this property to get rows that have been copied using the context menu in the tree control of the Attributes Dialog.
copy
in interface IEngineObjectInspector
srcRow
- A reference to a com.esri.arcgis.geodatabase.IRow (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 |