|
|||||||||
| 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.IRowEventsProxy
public class IRowEventsProxy
Provides access to events that occur when an object is modified, created or deleted.
The IRowEvents interface allows implementers of custom row objects to take special action in response to changes made to the state of a row object. The geodatabase calls the methods in the IRowEvents interface as changes are made to the state of a row object (see the description of the IRow::Store and IRow::Delete methods).
The OnChanged method is called by the geodatabase when an application program calls Store on an existing Row object.
The OnNew method is called by the geodatabase when an application program calls Store on a newly created Row object.
The OnDelete method is called by the geodatabase when an application program calls Delete on a Row object.
The OnInitialize method is called by the geodatabase after hydrating a cocreated Row object with its state (its set of field values) but before handing the Row to an application program. This is an opportunity for the Row object to initialize further state and derived member variables.
The OnValidate method is unused (deprecated).
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E |
| Constructor Summary | |
|---|---|
|
IRowEventsProxy()
|
|
IRowEventsProxy(Object obj)
|
protected |
IRowEventsProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
onChanged(IRowEventsOnChangedEvent theEvent)
An after event that is fired when a custom object is changed. |
void |
onDelete(IRowEventsOnDeleteEvent theEvent)
An after event that is fired when a custom object is deleted. |
void |
onInitialize(IRowEventsOnInitializeEvent theEvent)
An after event that is fired when a custom object is initialized. |
void |
onNew(IRowEventsOnNewEvent theEvent)
An after event that is fired when a custom object is Stored for the first time. |
void |
onValidate(IRowEventsOnValidateEvent theEvent)
An after event that is fired when a custom object is validated. |
void |
readExternal(ObjectInput in)
|
void |
removeListener(String iidStr,
Object theListener)
|
void |
writeExternal(ObjectOutput out)
|
| 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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IRowEventsProxy()
public IRowEventsProxy(Object obj)
throws IOException
IOException
protected IRowEventsProxy(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.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public void onChanged(IRowEventsOnChangedEvent theEvent)
throws IOException,
AutomationException
The OnChanged method is called by the geodatabase when an application program calls Store on an existing Row object.
onChanged in interface IRowEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onDelete(IRowEventsOnDeleteEvent theEvent)
throws IOException,
AutomationException
The OnDelete method is called by the geodatabase when an application program calls Delete on a Row object.
onDelete in interface IRowEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onInitialize(IRowEventsOnInitializeEvent theEvent)
throws IOException,
AutomationException
The OnInitialize method is called by the geodatabase after hydrating a cocreated Row object with its state (its set of field values) but before handing the Row to an application program. This is an opportunity for the Row object to initialize further state and derived member variables.
onInitialize in interface IRowEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onNew(IRowEventsOnNewEvent theEvent)
throws IOException,
AutomationException
The OnNew method is called by the geodatabase when an application program calls Store on a newly created Row object.
onNew in interface IRowEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onValidate(IRowEventsOnValidateEvent theEvent)
throws IOException,
AutomationException
onValidate in interface IRowEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class com.esri.arcgis.interop.DispatchIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class com.esri.arcgis.interop.DispatchIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||