com.esri.arcgis.catalogUI
Class NetworkDatasetDialog

java.lang.Object
  extended by com.esri.arcgis.catalogUI.NetworkDatasetDialog
All Implemented Interfaces:
INetworkDatasetDialog, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class NetworkDatasetDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, INetworkDatasetDialog

Dialogs for creating and editing network datasets.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
NetworkDatasetDialog()
          Constructs a NetworkDatasetDialog using ArcGIS Engine.
NetworkDatasetDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NetworkDatasetDialog theNetworkDatasetDialog = (NetworkDatasetDialog) obj;
 
Method Summary
 INetworkDataset doModalAdvancedCreateNetwork(IFeatureDatasetName fdsName, int parentWindow)
          Prompts the user to define a new network dataset.
 INetworkDataset doModalCreateNetwork(IFeatureClassName lineClassName, int parentWindow)
          Prompts the user to define a new network dataset.
 INetworkDataset doModalDataElementCreateNetwork(IDatasetContainer2 datasetContainer, IDENetworkDataset netDataElement, int parentWindow)
          Prompts the user to define a new network dataset.
 void doModalEdit(INetworkDataset network, int parentWindow)
          Shows the properties of a network dataset.
 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

NetworkDatasetDialog

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

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

NetworkDatasetDialog

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

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

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

doModalCreateNetwork

public INetworkDataset doModalCreateNetwork(IFeatureClassName lineClassName,
                                            int parentWindow)
                                     throws IOException,
                                            AutomationException
Prompts the user to define a new network dataset.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModalCreateNetwork in interface INetworkDatasetDialog
Parameters:
lineClassName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)
parentWindow - The parentWindow (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalAdvancedCreateNetwork

public INetworkDataset doModalAdvancedCreateNetwork(IFeatureDatasetName fdsName,
                                                    int parentWindow)
                                             throws IOException,
                                                    AutomationException
Prompts the user to define a new network dataset.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModalAdvancedCreateNetwork in interface INetworkDatasetDialog
Parameters:
fdsName - A reference to a com.esri.arcgis.geodatabase.IFeatureDatasetName (in)
parentWindow - The parentWindow (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalDataElementCreateNetwork

public INetworkDataset doModalDataElementCreateNetwork(IDatasetContainer2 datasetContainer,
                                                       IDENetworkDataset netDataElement,
                                                       int parentWindow)
                                                throws IOException,
                                                       AutomationException
Prompts the user to define a new network dataset.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModalDataElementCreateNetwork in interface INetworkDatasetDialog
Parameters:
datasetContainer - A reference to a com.esri.arcgis.geodatabase.IDatasetContainer2 (in)
netDataElement - A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)
parentWindow - The parentWindow (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalEdit

public void doModalEdit(INetworkDataset network,
                        int parentWindow)
                 throws IOException,
                        AutomationException
Shows the properties of a network dataset.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModalEdit in interface INetworkDatasetDialog
Parameters:
network - A reference to a com.esri.arcgis.geodatabase.INetworkDataset (in)
parentWindow - The parentWindow (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.