com.esri.arcgis.carto
Class IContextAnalyzerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IContextAnalyzerProxy
All Implemented Interfaces:
IContextAnalyzer, java.io.Externalizable, java.io.Serializable

public class IContextAnalyzerProxy
extends com.esri.arcgis.interop.Dispatch
implements IContextAnalyzer, java.io.Serializable

Internal use class Proxy for COM Interface 'IContextAnalyzer'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members used to determine the correct context menu id for a given context object.' 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.carto.IContextAnalyzer
IID, IID0c452012_84cb_11d2_ae68_080009ec732a
 
Constructor Summary
  IContextAnalyzerProxy()
          For internal use only
  IContextAnalyzerProxy(java.lang.Object obj)
           
protected IContextAnalyzerProxy(java.lang.Object obj, java.lang.String iid)
           
  IContextAnalyzerProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IContextAnalyzerProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void getContextMenu(java.lang.Object contextObject, IUID[] clsidMenu)
          Returns an appropriate context menu id, if possible.
 int getPriority()
          Priority for the context analyzer: 0 (highest) - 99 (lowest).
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setPriority(int priority)
          Priority for the context analyzer: 0 (highest) - 99 (lowest).
 
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

IContextAnalyzerProxy

public IContextAnalyzerProxy(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

IContextAnalyzerProxy

public IContextAnalyzerProxy()
For internal use only


IContextAnalyzerProxy

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

IContextAnalyzerProxy

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

IContextAnalyzerProxy

protected IContextAnalyzerProxy(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

getPriority

public int getPriority()
                throws java.io.IOException,
                       AutomationException
Priority for the context analyzer: 0 (highest) - 99 (lowest).

Specified by:
getPriority in interface IContextAnalyzer
Returns:
The priority
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPriority

public void setPriority(int priority)
                 throws java.io.IOException,
                        AutomationException
Priority for the context analyzer: 0 (highest) - 99 (lowest).

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

getContextMenu

public void getContextMenu(java.lang.Object contextObject,
                           IUID[] clsidMenu)
                    throws java.io.IOException,
                           AutomationException
Returns an appropriate context menu id, if possible. Returns null if it cannot determine an applicable context menu.

Specified by:
getContextMenu in interface IContextAnalyzer
Parameters:
contextObject - A reference to another Object (IUnknown) (in)
clsidMenu - A reference to a com.esri.arcgis.system.IUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.