|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.editor.FeatureInspector
public class FeatureInspector
Default feature inspector for the Editor.
ISnapEnvironment
,
IEditProperties
,
IEditTask.activate(com.esri.arcgis.editor.IEditor, com.esri.arcgis.editor.IEditTask)
,
IEditor
,
IEditLayers
,
IEditTask.deactivate()
,
IEditAttributeProperties
,
IEditEvents2
,
IEditTask.onFinishSketch()
,
IDatasetEdit
,
IDatasetEditInfo
,
IEditTask.onDeleteSketch()
,
IEditTask.getName()
,
IEditEvents
,
Editor
,
IEditSketch
,
Serialized FormConstructor Summary | |
---|---|
FeatureInspector()
Constructs a FeatureInspector using ArcGIS Engine. |
|
FeatureInspector(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FeatureInspector theFeatureInspector = (FeatureInspector) obj; |
Method Summary | |
---|---|
void |
addISelectionEventsListener(ISelectionEvents theListener)
addISelectionEventsListener. |
void |
clear()
Clear the inspector before inspecting another object. |
void |
copy(IRow srcRow)
Copies the values from srcRow to the row being edited. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
static String |
getClsid()
getClsid. |
IField |
getField(int index)
Attribute field by index. |
int |
getFieldCount()
The number of attribute fields displayed. |
int |
getHWND()
The window handle for the inspector. |
IEnumRow |
getRows()
The row or rows being inspected. |
int |
getSelectedField()
The index of the selected field, or -1. |
ITable |
getTable()
The table being edited. |
int |
hashCode()
the hashcode for this object |
void |
inspect(IEnumRow objects,
IEditor editor)
Inspects the properties of the features. |
boolean |
isDisableEditOperations()
Indicates if the object inspector is under a non-versioned editing model and to not start or stop edit operations as an edit operation is currently in effect. |
void |
onChange(IObjectClassEventsOnChangeEvent theEvent)
This event is fired when an object's attributes or geometry is updated. |
void |
onCreate(IObjectClassEventsOnCreateEvent theEvent)
This event is fired when a new object is created in the object class. |
void |
onDelete(IObjectClassEventsOnDeleteEvent theEvent)
This event is fired when an object is deleted from the object class. |
void |
removeISelectionEventsListener(ISelectionEvents theListener)
removeISelectionEventsListener. |
void |
setDisableEditOperations(boolean pDisableEditOperations)
Indicates if the object inspector is under a non-versioned editing model and to not start or stop edit operations as an edit operation is currently in effect. |
void |
setSelectedField(int index)
The index of the selected field, or -1. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public FeatureInspector() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic FeatureInspector(Object obj) throws IOException
FeatureInspector theFeatureInspector = (FeatureInspector) obj;
obj
to FeatureInspector
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addISelectionEventsListener(ISelectionEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.carto.ISelectionEvents interface.
IOException
- If there are communications problems.public void removeISelectionEventsListener(ISelectionEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.carto.ISelectionEvents interface.
IOException
- If there are communications problems.public int getHWND() throws IOException, AutomationException
getHWND
in interface IObjectInspector
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void inspect(IEnumRow objects, IEditor editor) throws IOException, AutomationException
inspect
in interface IObjectInspector
objects
- A reference to a com.esri.arcgis.editor.IEnumRow (in)editor
- A reference to a com.esri.arcgis.editor.IEditor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws IOException, AutomationException
clear
in interface IObjectInspector
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void copy(IRow srcRow) throws IOException, AutomationException
copy
in interface IObjectInspector
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.public boolean isDisableEditOperations() throws IOException, AutomationException
isDisableEditOperations
in interface IExtendedObjectInspector
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisableEditOperations(boolean pDisableEditOperations) throws IOException, AutomationException
setDisableEditOperations
in interface IExtendedObjectInspector
pDisableEditOperations
- The pDisableEditOperations (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable getTable() throws IOException, AutomationException
getTable
in interface IObjectInspectorPanel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumRow getRows() throws IOException, AutomationException
getRows
in interface IObjectInspectorPanel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFieldCount() throws IOException, AutomationException
getFieldCount
in interface IObjectInspectorPanel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IField getField(int index) throws IOException, AutomationException
getField
in interface IObjectInspectorPanel
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSelectedField() throws IOException, AutomationException
getSelectedField
in interface IObjectInspectorPanel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSelectedField(int index) throws IOException, AutomationException
setSelectedField
in interface IObjectInspectorPanel
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onCreate(IObjectClassEventsOnCreateEvent theEvent) throws IOException, AutomationException
onCreate
in interface IObjectClassEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onDelete(IObjectClassEventsOnDeleteEvent theEvent) throws IOException, AutomationException
onDelete
in interface IObjectClassEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onChange(IObjectClassEventsOnChangeEvent theEvent) throws IOException, AutomationException
In the event that a feature should be deleted due to an OnChange event, it is not recommended that the event handler delete the feature itself. Instead, an exception should be thrown to the application, where it can be made responsible for deleting the feature.
The OnChange event is not fired during a Topology Validation for performance reasons as a large number of features may be changed during a Validate. In addition, features may be changed many times.
onChange
in interface IObjectClassEvents
theEvent
- The event
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 |