com.esri.arcgis.controls
Class IHookHelperEventsOnHookUpdatedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.esri.arcgis.controls.IHookHelperEventsOnHookUpdatedEvent
All Implemented Interfaces:
Serializable

public class IHookHelperEventsOnHookUpdatedEvent
extends EventObject

Description

Fires when a change has been made to either a HookHelper, GlobeHookHelper or SceneHookHelper.

In a command implementation using the HookHelper, use the event to re-synch any member variables storing the IHookHelper::ActiveView, IHookHelper::FocusMap, IHookHelper::PageLayout or IHookHelper::OperationStack and to re-synch any event listeners (for example, if listening to IActiveViewEvents).

OnHookUpdated will fire in response to the following in an ArcGIS Engine application:

OnHookUpdated will fire in response to the following in the ArcMap application:

In a command implmentation using the GlobeHookHelper, use the event to re-synch any member variables storing the IGlobeHookHelper::Hook, IGlobeHookHelper::ActiveViewer, IGlobeHookHelper::Camera, IGlobeHookHelper::Globe or IGlobeHookHelper::GlobeDisplay and to re-synch any event listeners (for example, if listening to IActiveViewEvents).

OnHookUpdated will fire in response to the following in an ArcGIS Engine application:

OnHookUpdated will fire in response to the following in the ArcGlobe application:

In a command implementation using the SceneHookHelper, use the event to re-synch any member variables storing the ISceneHookHelper::Hook, ISceneHookHelper::ActiveViewer, ISceneHookHelper::Camera, ISceneHookHelper::Scene, ISceneHookHelper::SceneGraph any event listeners (for example, if listening to IActiveViewEvents ).

OnHookUpdated will fire in response to the following in an ArcGIS Engine application:

OnHookUpdated will fire in response to the following in the ArcScene application:

Remarks

The following are recommended when using the HookHelper, GlobeHookHelper or SceneHookHelper in cutsom commands:

Product Availability

Available with ArcGIS Engine.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IHookHelperEventsOnHookUpdatedEvent(Object source)
           
 
Method Summary
 int getHookEvent()
           
 void init(int hookEvent)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IHookHelperEventsOnHookUpdatedEvent

public IHookHelperEventsOnHookUpdatedEvent(Object source)
Method Detail

init

public void init(int hookEvent)

getHookEvent

public final int getHookEvent()