com.esri.arcgis.controls
Class IEngineNAWindowProxy

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

public class IEngineNAWindowProxy
extends com.esri.arcgis.interop.Dispatch
implements IEngineNAWindow, java.io.Serializable

Internal use class Proxy for COM Interface 'IEngineNAWindow'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriControls.olb'

Description: 'Provides access to the network analysis window.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.controls.IEngineNAWindow
IID, IIDcc384577_67f8_4b16_af7f_67c3de386209
 
Constructor Summary
  IEngineNAWindowProxy()
          For internal use only
  IEngineNAWindowProxy(java.lang.Object obj)
           
protected IEngineNAWindowProxy(java.lang.Object obj, java.lang.String iid)
           
  IEngineNAWindowProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IEngineNAWindowProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void abortOperation(INAContext pNAContext)
          Cancels the operation in progress.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void delayEvents(IEngineNAWindowCategory pCategory, boolean flag)
          Indicates if events should be delayed for a category.
 void delayWindowUpdates(boolean flag)
          Indicates if window updates should be delayed.
 INALayer getActiveAnalysis()
          The current analysis shown in the window.
 IEngineNAWindowCategory getActiveCategory()
          The current category shown in the window.
 IEngineNAWindowCategory getCategoryByNAClassName(java.lang.String name)
          The network analysis window by category.
 int getHWnd()
          The handle to the analysis window.
 IColor getItemSelectionColor()
          The color used for selected items.
 ISelection getSelection()
          The current selection in the window.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setActiveAnalysis(INALayer analysisLayer)
          The current analysis shown in the window.
 void setActiveCategory(IEngineNAWindowCategory category)
          The current category shown in the window.
 void setItemSelectionColor(IColor color)
          The color used for selected items.
 void setMessage(java.lang.String rhs1)
          Displays a message at the bottom of the window.
 void startOperation(INAContext pNAContext)
          Starts an analysis window operation.
 void stopOperation(INAContext pNAContext, java.lang.String message)
          Stops an analysis window operation.
 void updateContent(IEngineNAWindowCategory category)
          Refresh the window contents.
 
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
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IEngineNAWindowProxy

public IEngineNAWindowProxy(java.lang.String CLSID,
                            java.lang.String host,
                            com.esri.arcgis.interop.AuthInfo authInfo)
                     throws java.net.UnknownHostException,
                            java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IEngineNAWindowProxy

public IEngineNAWindowProxy()
For internal use only


IEngineNAWindowProxy

public IEngineNAWindowProxy(java.lang.Object obj)
                     throws java.io.IOException
Throws:
java.io.IOException

IEngineNAWindowProxy

protected IEngineNAWindowProxy(java.lang.Object obj,
                               java.lang.String iid)
                        throws java.io.IOException
Throws:
java.io.IOException

IEngineNAWindowProxy

protected IEngineNAWindowProxy(java.lang.String CLSID,
                               java.lang.String iid,
                               java.lang.String host,
                               com.esri.arcgis.interop.AuthInfo authInfo)
                        throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

setMessage

public void setMessage(java.lang.String rhs1)
                throws java.io.IOException,
                       AutomationException
Displays a message at the bottom of the window.

Specified by:
setMessage in interface IEngineNAWindow
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActiveAnalysis

public INALayer getActiveAnalysis()
                           throws java.io.IOException,
                                  AutomationException
The current analysis shown in the window.

Specified by:
getActiveAnalysis in interface IEngineNAWindow
Returns:
A reference to a com.esri.arcgis.networkanalyst.INALayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveAnalysis

public void setActiveAnalysis(INALayer analysisLayer)
                       throws java.io.IOException,
                              AutomationException
The current analysis shown in the window.

Specified by:
setActiveAnalysis in interface IEngineNAWindow
Parameters:
analysisLayer - A reference to a com.esri.arcgis.networkanalyst.INALayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActiveCategory

public IEngineNAWindowCategory getActiveCategory()
                                          throws java.io.IOException,
                                                 AutomationException
The current category shown in the window.

Specified by:
getActiveCategory in interface IEngineNAWindow
Returns:
A reference to a com.esri.arcgis.controls.IEngineNAWindowCategory
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveCategory

public void setActiveCategory(IEngineNAWindowCategory category)
                       throws java.io.IOException,
                              AutomationException
The current category shown in the window.

Specified by:
setActiveCategory in interface IEngineNAWindow
Parameters:
category - A reference to a com.esri.arcgis.controls.IEngineNAWindowCategory (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSelection

public ISelection getSelection()
                        throws java.io.IOException,
                               AutomationException
The current selection in the window.

Specified by:
getSelection in interface IEngineNAWindow
Returns:
A reference to a com.esri.arcgis.carto.ISelection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCategoryByNAClassName

public IEngineNAWindowCategory getCategoryByNAClassName(java.lang.String name)
                                                 throws java.io.IOException,
                                                        AutomationException
The network analysis window by category.

Specified by:
getCategoryByNAClassName in interface IEngineNAWindow
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.controls.IEngineNAWindowCategory
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateContent

public void updateContent(IEngineNAWindowCategory category)
                   throws java.io.IOException,
                          AutomationException
Refresh the window contents.

Specified by:
updateContent in interface IEngineNAWindow
Parameters:
category - A reference to a com.esri.arcgis.controls.IEngineNAWindowCategory (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delayEvents

public void delayEvents(IEngineNAWindowCategory pCategory,
                        boolean flag)
                 throws java.io.IOException,
                        AutomationException
Indicates if events should be delayed for a category.

Specified by:
delayEvents in interface IEngineNAWindow
Parameters:
pCategory - A reference to a com.esri.arcgis.controls.IEngineNAWindowCategory (in)
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delayWindowUpdates

public void delayWindowUpdates(boolean flag)
                        throws java.io.IOException,
                               AutomationException
Indicates if window updates should be delayed.

Specified by:
delayWindowUpdates in interface IEngineNAWindow
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHWnd

public int getHWnd()
            throws java.io.IOException,
                   AutomationException
The handle to the analysis window.

Specified by:
getHWnd in interface IEngineNAWindow
Returns:
The hWnd (A COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemSelectionColor

public IColor getItemSelectionColor()
                             throws java.io.IOException,
                                    AutomationException
The color used for selected items.

Specified by:
getItemSelectionColor in interface IEngineNAWindow
Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setItemSelectionColor

public void setItemSelectionColor(IColor color)
                           throws java.io.IOException,
                                  AutomationException
The color used for selected items.

Specified by:
setItemSelectionColor in interface IEngineNAWindow
Parameters:
color - A reference to a com.esri.arcgis.display.IColor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startOperation

public void startOperation(INAContext pNAContext)
                    throws java.io.IOException,
                           AutomationException
Starts an analysis window operation.

Specified by:
startOperation in interface IEngineNAWindow
Parameters:
pNAContext - A reference to a com.esri.arcgis.networkanalyst.INAContext (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopOperation

public void stopOperation(INAContext pNAContext,
                          java.lang.String message)
                   throws java.io.IOException,
                          AutomationException
Stops an analysis window operation.

Specified by:
stopOperation in interface IEngineNAWindow
Parameters:
pNAContext - A reference to a com.esri.arcgis.networkanalyst.INAContext (in)
message - The message (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

abortOperation

public void abortOperation(INAContext pNAContext)
                    throws java.io.IOException,
                           AutomationException
Cancels the operation in progress.

Specified by:
abortOperation in interface IEngineNAWindow
Parameters:
pNAContext - A reference to a com.esri.arcgis.networkanalyst.INAContext (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.