com.esri.arcgis.controls
Class IMapControlEvents2OnExtentUpdatedEvent

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

public class IMapControlEvents2OnExtentUpdatedEvent
extends EventObject

Description

OnExtentUpdated is triggered whenever the IMapControl2::Extent property is changed. Setting the extent explicitly, zooming, panning or using the IMapControl2::CenterAt method will change the extent.

The envelope that gets passed into the newEnvelope event parameter is identical to the envelope returned by the IDisplayTransformation::VisibleBounds property. In the context of the ControlsMapZoomInTool or ControlsMapZoomOutTool commands, this is the extent of the rectangle drawn by the user. When the zoom action is performed, the digitized extent is modified to match the aspect ratio of the display. Both the IMapControl2::Extent or IDisplayTransformation::FittedBounds properties return the true visible extent of the display.

Product Availability

Available with ArcGIS Engine.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IMapControlEvents2OnExtentUpdatedEvent(Object source)
           
 
Method Summary
 Object getDisplayTransformation()
           
 Object getNewEnvelope()
           
 boolean getSizeChanged()
           
 void init(Object displayTransformation, boolean sizeChanged, Object newEnvelope)
           
 
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

IMapControlEvents2OnExtentUpdatedEvent

public IMapControlEvents2OnExtentUpdatedEvent(Object source)
Method Detail

init

public void init(Object displayTransformation,
                 boolean sizeChanged,
                 Object newEnvelope)

getDisplayTransformation

public final Object getDisplayTransformation()

getSizeChanged

public final boolean getSizeChanged()

getNewEnvelope

public final Object getNewEnvelope()