|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.editor.AnnotationInspector
public class AnnotationInspector
A property inspector for annotation features.
Constructor Summary | |
---|---|
AnnotationInspector()
Constructs a AnnotationInspector using ArcGIS Engine. |
|
AnnotationInspector(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AnnotationInspector theAnnotationInspector = (AnnotationInspector) obj; |
Method Summary | |
---|---|
void |
clear()
Clear the inspector before inspecting another object. |
void |
copy(IRow srcRow)
Copies the values from srcRow to the row being edited. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getHWND()
The window handle for the inspector. |
int |
hashCode()
the hashcode for this object |
void |
inspect(IEnumRow objects,
IEditor editor)
Inspects the properties of the features. |
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. |
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 AnnotationInspector() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic AnnotationInspector(Object obj) throws IOException
AnnotationInspector theAnnotationInspector = (AnnotationInspector) obj;
obj
to AnnotationInspector
.
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 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 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 |