|
|||||||||
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.networkanalyst.INAContextEventsProxy
public class INAContextEventsProxy
Provides access to events triggered by the network analysis context.
The INAContextEvents interface is an outgoing interface that notifies clients when the NAContext or the NATraversalResult is modified.
OnNAContextUpdated is raised in response to ContextChanged being called on INAContextEdit. OnNAResultUpdated is raised in response to ResultChanged being called on INAContextEdit.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
INAContextEventsProxy()
|
|
INAContextEventsProxy(Object obj)
|
protected |
INAContextEventsProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
onNAContextUpdated(INAContextEventsOnNAContextUpdatedEvent theEvent)
Called when the network analysis context is updated. |
void |
onNAResultUpdated(INAContextEventsOnNAResultUpdatedEvent theEvent)
Called when the network analysis result is updated. |
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 INAContextEventsProxy()
public INAContextEventsProxy(Object obj) throws IOException
IOException
protected INAContextEventsProxy(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 void onNAContextUpdated(INAContextEventsOnNAContextUpdatedEvent theEvent) throws IOException, AutomationException
OnNAContextUpdated is raised in response to ContextChanged being called on INAContextEdit. For example, this occurs when new NALocationFeatures are added to an NAClass.
onNAContextUpdated
in interface INAContextEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onNAResultUpdated(INAContextEventsOnNAResultUpdatedEvent theEvent) throws IOException, AutomationException
OnNAResultUpdated is raised in response to ResultChanged being called on INAContextEdit. It signifies that something in the NATraversalResult has been modified. For example, the solver performed network analysis and updated the results.
onNAResultUpdated
in interface INAContextEvents
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 |