| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.SimpleIdentifyObject
public class SimpleIdentifyObject
Simple Feature Identify Object.
| Constructor Summary | |
|---|---|
SimpleIdentifyObject()
Constructs a SimpleIdentifyObject using ArcGIS Engine.  | 
|
SimpleIdentifyObject(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.  SimpleIdentifyObject theSimpleIdentifyObject = (SimpleIdentifyObject) obj; | 
|
| Method Summary | |
|---|---|
 boolean | 
canIdentify(ILayer pLayer)
Indicates if the object can identify the specified layer.  | 
 boolean | 
equals(Object o)
Compare this object with another  | 
 void | 
flash(IScreenDisplay pDisplay)
Flashes the identified object on the screen.  | 
static String | 
getClsid()
getClsid.  | 
 int | 
getHWnd()
The window handle.  | 
 ILayer | 
getLayer()
Target layer for identification.  | 
 String | 
getName()
Name of the identify object.  | 
 IPropertySet | 
getPropertySet()
PropertySet of the identify object.  | 
 IRow | 
getRow()
The row used by 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 | 
setFeature(IFeature rhs1)
The feature to be identified.  | 
 void | 
setName(String name)
Name of the identify object.  | 
 void | 
setPropertySetByRef(IPropertySet propertySet)
PropertySet of the identify object.  | 
 void | 
setRow(IRow row)
The row used by the identify object.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef | 
|---|
getJintegraDispatch, release | 
| Constructor Detail | 
|---|
public SimpleIdentifyObject()
                     throws IOException,
                            UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problemspublic SimpleIdentifyObject(Object obj)
                     throws IOException
 SimpleIdentifyObject theSimpleIdentifyObject = (SimpleIdentifyObject) obj;
obj to SimpleIdentifyObject.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail | 
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void setFeature(IFeature rhs1)
                throws IOException,
                       AutomationException
The Feature property is write-only. However, you can get a reference to the identified feature by casting to IRowIdentifyObject and then using the Row property. This could be coded as follows.
 IFeatureIdentifyObj pFeatIdObj = null;IRowIdentifyObject pRowObj = null;IFeature pFeature = null;// Do something that sets pFeatIdObj...// �// Get the feature that was identified by casting to IRowIdentifyObjectpRowObj = new IRowIdentifyObjectProxy(pFeatIdObj);pFeature = new IFeatureProxy( pRowObj.getRow());
setFeature in interface IFeatureIdentifyObjrhs1 - A reference to a com.esri.arcgis.geodatabase.IFeature  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public boolean canIdentify(ILayer pLayer)
                    throws IOException,
                           AutomationException
canIdentify in interface IIdentifyObjpLayer - A reference to a com.esri.arcgis.carto.ILayer  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public int getHWnd()
            throws IOException,
                   AutomationException
getHWnd in interface IIdentifyObjIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public String getName()
               throws IOException,
                      AutomationException
getName in interface IIdentifyObjgetName in interface IIdentifyObjectIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public ILayer getLayer()
                throws IOException,
                       AutomationException
getLayer in interface IIdentifyObjIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public void flash(IScreenDisplay pDisplay)
           throws IOException,
                  AutomationException
The Flash method is not supported with ArcGIS Engine, use the IHookActions.DoActions() method with the esriHookActionsFlash for this functionality.
flash in interface IIdentifyObjpDisplay - A reference to a com.esri.arcgis.display.IScreenDisplay  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public void popUpMenu(int x,
                      int y)
               throws IOException,
                      AutomationException
popUpMenu in interface IIdentifyObjx - The x  (in)y - The y  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public void setRow(IRow row)
            throws IOException,
                   AutomationException
setRow in interface IRowIdentifyObjectrow - A reference to a com.esri.arcgis.geodatabase.IRow  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public IRow getRow()
            throws IOException,
                   AutomationException
getRow in interface IRowIdentifyObjectIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public void setName(String name)
             throws IOException,
                    AutomationException
setName in interface IIdentifyObjectname - The name  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public IPropertySet getPropertySet()
                            throws IOException,
                                   AutomationException
getPropertySet in interface IIdentifyObjectIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.public void setPropertySetByRef(IPropertySet propertySet)
                         throws IOException,
                                AutomationException
setPropertySetByRef in interface IIdentifyObjectpropertySet - A reference to a com.esri.arcgis.system.IPropertySet  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||