com.esri.arcgis.display
Interface IDynamicDisplay2

All Superinterfaces:
IDynamicDisplay, Serializable
All Known Implementing Classes:
DynamicDisplay, IDynamicDisplay2Proxy

public interface IDynamicDisplay2
extends IDynamicDisplay, Serializable

Provides access to Dynamic Display.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void deleteDynamicDrawing(IDynamicDrawing pDynamicDrawing)
          Delete a dynamic drawing.
 int getSelectionIdentifier()
          Allocate a unique index to be used with dynamic selection.
 void insertDynamicDrawing(IDynamicDrawing pDynamicDrawing, int lPosition)
          Add a dynamic drawing to the display at the specified Z order.
 boolean isSupportStaticDrawing()
          Indicates whether display supports static drawing such as lables and graphics.
 IArray locate(int xView, int yView, int selectionMode, Object data)
          Locate named objects in the display.
 void setSupportStaticDrawing(boolean staticDrawing)
          Indicates whether display supports static drawing such as lables and graphics.
 
Methods inherited from interface com.esri.arcgis.display.IDynamicDisplay
drawLine, drawMarker, drawMultipleLines, drawMultipleMarkers, drawPolygon, drawPolyline, drawRectangle, drawText, getDynamicGlyphFactory
 

Method Detail

isSupportStaticDrawing

boolean isSupportStaticDrawing()
                               throws IOException,
                                      AutomationException
Indicates whether display supports static drawing such as lables and graphics.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The staticDrawing
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSupportStaticDrawing

void setSupportStaticDrawing(boolean staticDrawing)
                             throws IOException,
                                    AutomationException
Indicates whether display supports static drawing such as lables and graphics.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
staticDrawing - The staticDrawing (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

locate

IArray locate(int xView,
              int yView,
              int selectionMode,
              Object data)
              throws IOException,
                     AutomationException
Locate named objects in the display. Provides a mechanism for hit-test, selection etc.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
xView - The xView (in)
yView - The yView (in)
selectionMode - A com.esri.arcgis.display.esriDynamicSelectionMode constant (in)
data - A reference to another Object (IUnknown) (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelectionIdentifier

int getSelectionIdentifier()
                           throws IOException,
                                  AutomationException
Allocate a unique index to be used with dynamic selection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The identifier
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertDynamicDrawing

void insertDynamicDrawing(IDynamicDrawing pDynamicDrawing,
                          int lPosition)
                          throws IOException,
                                 AutomationException
Add a dynamic drawing to the display at the specified Z order.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pDynamicDrawing - A reference to a com.esri.arcgis.display.IDynamicDrawing (in)
lPosition - The lPosition (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteDynamicDrawing

void deleteDynamicDrawing(IDynamicDrawing pDynamicDrawing)
                          throws IOException,
                                 AutomationException
Delete a dynamic drawing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pDynamicDrawing - A reference to a com.esri.arcgis.display.IDynamicDrawing (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.