|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.IObjectClassEventsAdapter
public class IObjectClassEventsAdapter
Constructor Summary | |
---|---|
IObjectClassEventsAdapter()
|
Method Summary | |
---|---|
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IObjectClassEventsAdapter()
Method Detail |
---|
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 |