com.esri.arcgis.display
Class IDynamicDisplay2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.display.IDynamicDisplayProxy
          extended by com.esri.arcgis.display.IDynamicDisplay2Proxy
All Implemented Interfaces:
IDynamicDisplay, IDynamicDisplay2, Externalizable, Serializable

public class IDynamicDisplay2Proxy
extends IDynamicDisplayProxy
implements IDynamicDisplay2, Serializable

Provides access to Dynamic Display.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IDynamicDisplay2Proxy()
           
  IDynamicDisplay2Proxy(Object obj)
           
protected IDynamicDisplay2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 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 removeListener(String iidStr, Object theListener)
           
 void setSupportStaticDrawing(boolean staticDrawing)
          Indicates whether display supports static drawing such as lables and graphics.
 
Methods inherited from class com.esri.arcgis.display.IDynamicDisplayProxy
drawLine, drawMarker, drawMultipleLines, drawMultipleMarkers, drawPolygon, drawPolyline, drawRectangle, drawText, getDynamicGlyphFactory
 
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
 
Methods inherited from interface com.esri.arcgis.display.IDynamicDisplay
drawLine, drawMarker, drawMultipleLines, drawMultipleMarkers, drawPolygon, drawPolyline, drawRectangle, drawText, getDynamicGlyphFactory
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IDynamicDisplay2Proxy

public IDynamicDisplay2Proxy()

IDynamicDisplay2Proxy

public IDynamicDisplay2Proxy(Object obj)
                      throws IOException
Throws:
IOException

IDynamicDisplay2Proxy

protected IDynamicDisplay2Proxy(Object obj,
                                String iid)
                         throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IDynamicDisplayProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IDynamicDisplayProxy
Throws:
IOException

isSupportStaticDrawing

public 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.

Specified by:
isSupportStaticDrawing in interface IDynamicDisplay2
Returns:
The staticDrawing
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSupportStaticDrawing

public 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.

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

locate

public 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.

Specified by:
locate in interface IDynamicDisplay2
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

public 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.

Specified by:
getSelectionIdentifier in interface IDynamicDisplay2
Returns:
The identifier
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertDynamicDrawing

public 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.

Specified by:
insertDynamicDrawing in interface IDynamicDisplay2
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

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

Product Availability

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

Specified by:
deleteDynamicDrawing in interface IDynamicDisplay2
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.