com.esri.arcgis.carto
Interface IDynamicHit

All Superinterfaces:
Serializable
All Known Implementing Classes:
DynamicHit

public interface IDynamicHit
extends Serializable

Provides access to dynamic hit-test results.

Product Availability

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


Method Summary
 int getNameCount()
          Number of names (for internal use).
 Object getObject()
          The object that is hit.
 int getObjectID()
          The oject ID.
 Object getOwner()
          The owner (layer) that is hit.
 int getParentID()
          The parent identifier.
 void setNameCount(int count)
          Number of names (for internal use).
 void setObjectByRef(Object ppObject)
          The object that is hit.
 void setObjectID(int iD)
          The oject ID.
 void setOwnerByRef(Object ppOwner)
          The owner (layer) that is hit.
 void setParentID(int iD)
          The parent identifier.
 

Method Detail

getOwner

Object getOwner()
                throws IOException,
                       AutomationException
The owner (layer) that is hit.

Product Availability

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

Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOwnerByRef

void setOwnerByRef(Object ppOwner)
                   throws IOException,
                          AutomationException
The owner (layer) that is hit.

Product Availability

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

Parameters:
ppOwner - A reference to another Object (IUnknown) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObject

Object getObject()
                 throws IOException,
                        AutomationException
The object that is hit.

Product Availability

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

Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObjectByRef

void setObjectByRef(Object ppObject)
                    throws IOException,
                           AutomationException
The object that is hit.

Product Availability

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

Parameters:
ppObject - A reference to another Object (IUnknown) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentID

int getParentID()
                throws IOException,
                       AutomationException
The parent identifier.

Product Availability

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

Returns:
The iD
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParentID

void setParentID(int iD)
                 throws IOException,
                        AutomationException
The parent identifier.

Product Availability

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

Parameters:
iD - The iD (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObjectID

int getObjectID()
                throws IOException,
                       AutomationException
The oject ID.

Product Availability

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

Returns:
The iD
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObjectID

void setObjectID(int iD)
                 throws IOException,
                        AutomationException
The oject ID.

Product Availability

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

Parameters:
iD - The iD (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNameCount

int getNameCount()
                 throws IOException,
                        AutomationException
Number of names (for internal use).

Product Availability

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

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNameCount

void setNameCount(int count)
                  throws IOException,
                         AutomationException
Number of names (for internal use).

Product Availability

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

Parameters:
count - The count (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.