com.esri.arcgis.carto
Class SimpleMapServerIdentifyObject

java.lang.Object
  extended by com.esri.arcgis.carto.SimpleMapServerIdentifyObject
All Implemented Interfaces:
IIdentifyObj, IIdentifyObject, IMapServerIdentifyObject, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class SimpleMapServerIdentifyObject
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IIdentifyObj, IIdentifyObject, IMapServerIdentifyObject

COM Class 'SimpleMapServerIdentifyObject'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'Provides programmatic access to a simple map server layer identify 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
 
Fields inherited from interface com.esri.arcgis.carto.IIdentifyObject
IID, IIDef0720ee_761e_4bed_a548_61596690e714, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IMapServerIdentifyObject
IID, IIDa25a8796_8463_490c_b007_127d2e494805, xxDummy
 
Constructor Summary
SimpleMapServerIdentifyObject()
          Constructs a SimpleMapServerIdentifyObject using ArcGIS Engine.
SimpleMapServerIdentifyObject(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SimpleMapServerIdentifyObject theSimpleMapServerIdentifyObject = (SimpleMapServerIdentifyObject) obj;
 
Method Summary
 boolean canIdentify(ILayer pLayer)
          Indicates if the object can identify the specified layer.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void flash(IScreenDisplay pDisplay)
          Flashes the identified object on the screen.
static java.lang.String getClsid()
          getClsid.
 int getHWnd()
          The window handle.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 ILayer getLayer()
          Target layer for identification.
 IMapServerIdentifyResult getMapServerIdentifyResult()
          The Map Server Identify Result.
 java.lang.String getName()
          Name of the identify object.
 IPropertySet getPropertySet()
          PropertySet of the identify object.
 int hashCode()
          the hashcode for this object
 void popUpMenu(int x, int y)
          Displays a context sensitive popup menu at the specified location.
 void release()
          Release a SimpleMapServerIdentifyObject.
 void setMapServerIdentifyResult(IMapServerIdentifyResult result)
          The Map Server Identify Result.
 void setName(java.lang.String name)
          Name of the identify object.
 void setPropertySetByRef(IPropertySet propertySet)
          PropertySet of the identify object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMapServerIdentifyObject

public SimpleMapServerIdentifyObject()
                              throws java.io.IOException,
                                     java.net.UnknownHostException
Constructs a SimpleMapServerIdentifyObject using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

SimpleMapServerIdentifyObject

public SimpleMapServerIdentifyObject(java.lang.Object obj)
                              throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SimpleMapServerIdentifyObject theSimpleMapServerIdentifyObject = (SimpleMapServerIdentifyObject) obj;

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


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 SimpleMapServerIdentifyObject.

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

canIdentify

public boolean canIdentify(ILayer pLayer)
                    throws java.io.IOException,
                           AutomationException
Indicates if the object can identify the specified layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
canIdentify in interface IIdentifyObj
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Returns:
The b
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 window handle.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of the identify object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getName in interface IIdentifyObj
Specified by:
getName in interface IIdentifyObject
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayer

public ILayer getLayer()
                throws java.io.IOException,
                       AutomationException
Target layer for identification.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

flash

public void flash(IScreenDisplay pDisplay)
           throws java.io.IOException,
                  AutomationException
Flashes the identified object on the screen.

Remarks

The Flash method is not supported with ArcGIS Engine, use the IHookActions.DoActions() method with the esriHookActionsFlash for this functionality.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

popUpMenu

public void popUpMenu(int x,
                      int y)
               throws java.io.IOException,
                      AutomationException
Displays a context sensitive popup menu at the specified location.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
popUpMenu in interface IIdentifyObj
Parameters:
x - The x (in)
y - The y (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String name)
             throws java.io.IOException,
                    AutomationException
Name of the identify object.

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

getPropertySet

public IPropertySet getPropertySet()
                            throws java.io.IOException,
                                   AutomationException
PropertySet of the identify object.

Specified by:
getPropertySet in interface IIdentifyObject
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPropertySetByRef

public void setPropertySetByRef(IPropertySet propertySet)
                         throws java.io.IOException,
                                AutomationException
PropertySet of the identify object.

Specified by:
setPropertySetByRef in interface IIdentifyObject
Parameters:
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapServerIdentifyResult

public void setMapServerIdentifyResult(IMapServerIdentifyResult result)
                                throws java.io.IOException,
                                       AutomationException
The Map Server Identify Result.

Specified by:
setMapServerIdentifyResult in interface IMapServerIdentifyObject
Parameters:
result - A reference to a com.esri.arcgis.carto.IMapServerIdentifyResult (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMapServerIdentifyResult

public IMapServerIdentifyResult getMapServerIdentifyResult()
                                                    throws java.io.IOException,
                                                           AutomationException
The Map Server Identify Result.

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