com.esri.arcgis.arcmapui
Class RasterLayerContextAnalyzer

java.lang.Object
  extended by com.esri.arcgis.arcmapui.RasterLayerContextAnalyzer
All Implemented Interfaces:
IContextAnalyzer, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class RasterLayerContextAnalyzer
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IContextAnalyzer

COM Class 'RasterLayerContextAnalyzer'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'

Description 'A coclass for RasterLayer context analyzer.' 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
 
Fields inherited from interface com.esri.arcgis.carto.IContextAnalyzer
IID, IID0c452012_84cb_11d2_ae68_080009ec732a, xxDummy
 
Constructor Summary
RasterLayerContextAnalyzer(java.lang.Object obj)
          Construct a RasterLayerContextAnalyzer using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void getContextMenu(java.lang.Object contextObject, IUID[] clsidMenu)
          Returns an appropriate context menu id, if possible.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getPriority()
          Priority for the context analyzer: 0 (highest) - 99 (lowest).
 int hashCode()
          the hashcode for this object
 void release()
          Release a RasterLayerContextAnalyzer.
 void setPriority(int priority)
          Priority for the context analyzer: 0 (highest) - 99 (lowest).
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterLayerContextAnalyzer

public RasterLayerContextAnalyzer(java.lang.Object obj)
                           throws java.io.IOException
Construct a RasterLayerContextAnalyzer using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterLayerContextAnalyzer.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
RasterLayerContextAnalyzer o = (RasterLayerContextAnalyzer)obj; // will not work

RasterLayerContextAnalyzer o = new RasterLayerContextAnalyzer(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems RasterLayerContextAnalyzer theRasterLayerContextAnalyzer = (RasterLayerContextAnalyzer) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RasterLayerContextAnalyzer.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

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.