com.esri.arcgis.carto
Class DynamicHit

java.lang.Object
  extended by com.esri.arcgis.carto.DynamicHit
All Implemented Interfaces:
IDynamicHit, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class DynamicHit
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDynamicHit

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

Description 'dynamic hit-test results class.' 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.IDynamicHit
IID, IIDe9a57bd8_bf74_4502_af71_b1de1168a9cc, xxDummy
 
Constructor Summary
DynamicHit()
          Constructs a DynamicHit using ArcGIS Engine.
DynamicHit(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DynamicHit theDynamicHit = (DynamicHit) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getNameCount()
          Number of names (for internal use).
 java.lang.Object getObject()
          The object that is hit.
 int getObjectID()
          The oject ID.
 java.lang.Object getOwner()
          The owner (layer) that is hit.
 int getParentID()
          The parent identifier.
 int hashCode()
          the hashcode for this object
 void release()
          Release a DynamicHit.
 void setNameCount(int count)
          Number of names (for internal use).
 void setObjectByRef(java.lang.Object ppObject)
          The object that is hit.
 void setObjectID(int iD)
          The oject ID.
 void setOwnerByRef(java.lang.Object ppOwner)
          The owner (layer) that is hit.
 void setParentID(int iD)
          The parent identifier.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicHit

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

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

DynamicHit

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

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

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

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

getOwner

public java.lang.Object getOwner()
                          throws java.io.IOException,
                                 AutomationException
The owner (layer) that is hit.

Specified by:
getOwner in interface IDynamicHit
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOwnerByRef

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

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

getObject

public java.lang.Object getObject()
                           throws java.io.IOException,
                                  AutomationException
The object that is hit.

Specified by:
getObject in interface IDynamicHit
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObjectByRef

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

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

getParentID

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

Specified by:
getParentID in interface IDynamicHit
Returns:
The iD
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParentID

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

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

getObjectID

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

Specified by:
getObjectID in interface IDynamicHit
Returns:
The iD
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setObjectID

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

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

getNameCount

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

Specified by:
getNameCount in interface IDynamicHit
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNameCount

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

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