com.esri.arcgis.arcmapui
Class DataGraphMxDocumentDropTarget

java.lang.Object
  extended by com.esri.arcgis.arcmapui.DataGraphMxDocumentDropTarget
All Implemented Interfaces:
IMxDocumentDropTarget, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class DataGraphMxDocumentDropTarget
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IMxDocumentDropTarget

Supports data graph drag-and-drop functionality in ArcMap.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
DataGraphMxDocumentDropTarget()
          Constructs a DataGraphMxDocumentDropTarget using ArcGIS Engine.
DataGraphMxDocumentDropTarget(Object obj)
          Construct a DataGraphMxDocumentDropTarget using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean canCreate(IMxDocument document, IName targetName)
          Indicates if targetName can be added to the Document.
 void create(IMxDocument document, IName targetName)
          Adds targetName to the current Document.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

DataGraphMxDocumentDropTarget

public DataGraphMxDocumentDropTarget()
                              throws IOException,
                                     UnknownHostException
Constructs a DataGraphMxDocumentDropTarget using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

DataGraphMxDocumentDropTarget

public DataGraphMxDocumentDropTarget(Object obj)
                              throws IOException
Construct a DataGraphMxDocumentDropTarget using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DataGraphMxDocumentDropTarget.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems DataGraphMxDocumentDropTarget theDataGraphMxDocumentDropTarget = (DataGraphMxDocumentDropTarget) obj;
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

canCreate

public boolean canCreate(IMxDocument document,
                         IName targetName)
                  throws IOException,
                         AutomationException
Indicates if targetName can be added to the Document.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
canCreate in interface IMxDocumentDropTarget
Parameters:
document - A reference to a com.esri.arcgis.arcmapui.IMxDocument (in)
targetName - A reference to a com.esri.arcgis.system.IName (in)
Returns:
The canCreate
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

public void create(IMxDocument document,
                   IName targetName)
            throws IOException,
                   AutomationException
Adds targetName to the current Document.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
create in interface IMxDocumentDropTarget
Parameters:
document - A reference to a com.esri.arcgis.arcmapui.IMxDocument (in)
targetName - A reference to a com.esri.arcgis.system.IName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.