com.esri.arcgis.arcmapui
Class AddDataDialog

java.lang.Object
  extended by com.esri.arcgis.arcmapui.AddDataDialog
All Implemented Interfaces:
IAddDataDialog, IAddDataDialog2, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class AddDataDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAddDataDialog, IAddDataDialog2

Add Data Dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
AddDataDialog()
          Constructs a AddDataDialog using ArcGIS Engine.
AddDataDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AddDataDialog theAddDataDialog = (AddDataDialog) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void setDocument(IMxDocument rhs1)
          The document.
 void setGroupLayer(IGroupLayer rhs1)
          The group layer to which data needs to be added.
 void setMap(IMap rhs1)
          The map.
 void show(int parentHWnd, boolean[] ok)
          Indicates if the dialog is shown and adds the data.
 
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

AddDataDialog

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

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

AddDataDialog

public AddDataDialog(Object obj)
              throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AddDataDialog theAddDataDialog = (AddDataDialog) obj;

Construct a AddDataDialog using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to AddDataDialog.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
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

setDocument

public void setDocument(IMxDocument rhs1)
                 throws IOException,
                        AutomationException
The document.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setDocument in interface IAddDataDialog
Parameters:
rhs1 - A reference to a com.esri.arcgis.arcmapui.IMxDocument (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMap

public void setMap(IMap rhs1)
            throws IOException,
                   AutomationException
The map.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setMap in interface IAddDataDialog
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

show

public void show(int parentHWnd,
                 boolean[] ok)
          throws IOException,
                 AutomationException
Indicates if the dialog is shown and adds the data.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
show in interface IAddDataDialog
Parameters:
parentHWnd - The parentHWnd (A COM typedef) (in)
ok - The ok (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGroupLayer

public void setGroupLayer(IGroupLayer rhs1)
                   throws IOException,
                          AutomationException
The group layer to which data needs to be added.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setGroupLayer in interface IAddDataDialog2
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IGroupLayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.