com.esri.arcgis.controls
Class IEngineNAWindowEventsExAdapter

java.lang.Object
  extended by com.esri.arcgis.controls.IEngineNAWindowEventsExAdapter
All Implemented Interfaces:
IEngineNAWindowEventsEx, Serializable, EventListener

public class IEngineNAWindowEventsExAdapter
extends Object
implements IEngineNAWindowEventsEx

See Also:
Serialized Form

Constructor Summary
IEngineNAWindowEventsExAdapter()
           
 
Method Summary
 boolean onContextMenu(IEngineNAWindowEventsExOnContextMenuEvent theEvent)
          Indicates if a context menu should be displayed at the given xy location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IEngineNAWindowEventsExAdapter

public IEngineNAWindowEventsExAdapter()
Method Detail

onContextMenu

public boolean onContextMenu(IEngineNAWindowEventsExOnContextMenuEvent theEvent)
                      throws IOException,
                             AutomationException
Indicates if a context menu should be displayed at the given xy location. Return true if handled.

Description

The OnContextMenu event is fired when a user right clicks within the IEngineNetworkAnalystEnvironment::NAWindow and can be used to supply a context menu.

Product Availability

Available with ArcGIS Engine.

Specified by:
onContextMenu in interface IEngineNAWindowEventsEx
Parameters:
theEvent - The event
Returns:
The handled
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.