com.esri.arcgis.controls
Class IEngineNAWindow2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.controls.IEngineNAWindowProxy
          extended by com.esri.arcgis.controls.IEngineNAWindow2Proxy
All Implemented Interfaces:
IEngineNAWindow, IEngineNAWindow2, Externalizable, Serializable

public class IEngineNAWindow2Proxy
extends IEngineNAWindowProxy
implements IEngineNAWindow2, Serializable

Provides access to the network analysis window.

Description

The IEngineNAWindow2 inherits from the IEngineNAWindow interface, the main interface on the IEngineNetworkAnalystEnvironment::NAWindow. It provides methods to access the NALayer and to edit INAContext::NAClasses within the context of an undo/redo operation.

In addition to the methods on IEngineNAWindow, there is an extra property ActiveCategoryGroup that allows you to determine the active group when the category supports groups. Currently "Stops" is the only category that supports multiple groups where they are used to specify multiple routes in one analysis layer.

Product Availability

Available with ArcGIS Engine.

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
  IEngineNAWindow2Proxy()
           
  IEngineNAWindow2Proxy(Object obj)
           
protected IEngineNAWindow2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IEngineNAWindowCategoryGroup getActiveCategoryGroup()
          The current category group shown in the window.
 void removeListener(String iidStr, Object theListener)
           
 void setActiveCategoryGroup(IEngineNAWindowCategoryGroup group)
          The current category group shown in the window.
 
Methods inherited from class com.esri.arcgis.controls.IEngineNAWindowProxy
abortOperation, delayEvents, delayWindowUpdates, getActiveAnalysis, getActiveCategory, getCategoryByNAClassName, getHWnd, getItemSelectionColor, getSelection, setActiveAnalysis, setActiveCategory, setItemSelectionColor, setMessage, startOperation, stopOperation, updateContent
 
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.controls.IEngineNAWindow
abortOperation, delayEvents, delayWindowUpdates, getActiveAnalysis, getActiveCategory, getCategoryByNAClassName, getHWnd, getItemSelectionColor, getSelection, setActiveAnalysis, setActiveCategory, setItemSelectionColor, setMessage, startOperation, stopOperation, updateContent
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IEngineNAWindow2Proxy

public IEngineNAWindow2Proxy()

IEngineNAWindow2Proxy

public IEngineNAWindow2Proxy(Object obj)
                      throws IOException
Throws:
IOException

IEngineNAWindow2Proxy

protected IEngineNAWindow2Proxy(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 IEngineNAWindowProxy
Throws:
IOException

removeListener

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

getActiveCategoryGroup

public IEngineNAWindowCategoryGroup getActiveCategoryGroup()
                                                    throws IOException,
                                                           AutomationException
The current category group shown in the window.

Description

The ActiveCategoryGroup property allows you to determine the active group when the category supports groups. Currently "Stops" is the only category that supports multiple groups where they are used to specify multiple routes in one analysis layer.

Product Availability

Available with ArcGIS Engine.

Specified by:
getActiveCategoryGroup in interface IEngineNAWindow2
Returns:
A reference to a com.esri.arcgis.controls.IEngineNAWindowCategoryGroup
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveCategoryGroup

public void setActiveCategoryGroup(IEngineNAWindowCategoryGroup group)
                            throws IOException,
                                   AutomationException
The current category group shown in the window.

Product Availability

Available with ArcGIS Engine.

Specified by:
setActiveCategoryGroup in interface IEngineNAWindow2
Parameters:
group - A reference to a com.esri.arcgis.controls.IEngineNAWindowCategoryGroup (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.