|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIdentifyObj
Provides access to members that control feature identification for a layer.
When used on a map layer, the IIdentify::Identify method returns an array of FeatureIdentifyObject objects. On a FeatureIdentifyObject, you can do a QI to this IIdentifyObj interface to get more information about the identified feature. The IIdentifyObj interface returns the window handle, layer, and name of the feature; it has methods to flash the feature in the display and to display a context menu at the Identify location.
The Flash method is not supported with ArcGIS Engine, use the IHookActions.DoActions() method with the esriHookActionsFlash for this functionality.
IIdentify
,
IFeatureIdentifyObj
,
FeatureIdentifyObject
Method Summary | |
---|---|
boolean |
canIdentify(ILayer pLayer)
Indicates if the object can identify the specified layer. |
void |
flash(IScreenDisplay pDisplay)
Flashes the identified object on the screen. |
int |
getHWnd()
The window handle. |
ILayer |
getLayer()
Target layer for identification. |
String |
getName()
Name of the identify object. |
void |
popUpMenu(int x,
int y)
Displays a context sensitive popup menu at the specified location. |
Method Detail |
---|
boolean canIdentify(ILayer pLayer) throws IOException, AutomationException
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getHWnd() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILayer getLayer() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
pDisplay
- A reference to a com.esri.arcgis.display.IScreenDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void popUpMenu(int x, int y) throws IOException, AutomationException
x
- The x (in)y
- The y (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |