com.esri.arcgis.globecore
Class GlobeServerFindObject

java.lang.Object
  extended by com.esri.arcgis.globecore.GlobeServerFindObject
All Implemented Interfaces:
IFindObj, IFindObject, IRemoteFindObj, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GlobeServerFindObject
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IFindObj, IFindObject, IRemoteFindObj

Provides programmatic access to a simple globe server layer find results object.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
GlobeServerFindObject()
          Constructs a GlobeServerFindObject using ArcGIS Engine.
GlobeServerFindObject(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeServerFindObject theGlobeServerFindObject = (GlobeServerFindObject) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 void flash(IScreenDisplay pDisplay)
          Flash the found object.
static String getClsid()
          getClsid.
 int getFID()
          FID.
 String getFieldName()
          The field name.
 String getLayerName()
          The layer name.
 String getValue()
          String value.
 int hashCode()
          the hashcode for this object
 void identify(IScreenDisplay pDisplay, Object vIdentifyDialog)
          Identify the found object.
 boolean isSelectable()
          Indicates if layer is selectable.
 void select(IScreenDisplay pDisplay)
          Select found features.
 void setBookmark(IScreenDisplay pDisplay)
          Create bookmark at the found object.
 void setFID(int fID)
          FID.
 void setFieldName(String fieldName)
          The field name.
 void setLayerName(String layerName)
          The layer name.
 void setValue(String value)
          String value.
 void unselect(IScreenDisplay pDisplay)
          Unselect found features.
 void zoomTo(IScreenDisplay pDisplay)
          Zoom to the found 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

GlobeServerFindObject

public GlobeServerFindObject()
                      throws IOException,
                             UnknownHostException
Constructs a GlobeServerFindObject using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

GlobeServerFindObject

public GlobeServerFindObject(Object obj)
                      throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeServerFindObject theGlobeServerFindObject = (GlobeServerFindObject) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setValue

public void setValue(String value)
              throws IOException,
                     AutomationException
String value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setValue in interface IFindObj
Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public String getValue()
                throws IOException,
                       AutomationException
String value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getValue in interface IFindObj
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFieldName

public void setFieldName(String fieldName)
                  throws IOException,
                         AutomationException
The field name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setFieldName in interface IFindObj
Parameters:
fieldName - The fieldName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldName

public String getFieldName()
                    throws IOException,
                           AutomationException
The field name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFieldName in interface IFindObj
Returns:
The fieldName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerName

public void setLayerName(String layerName)
                  throws IOException,
                         AutomationException
The layer name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setLayerName in interface IFindObj
Parameters:
layerName - The layerName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerName

public String getLayerName()
                    throws IOException,
                           AutomationException
The layer name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getLayerName in interface IFindObj
Returns:
The layerName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFID

public void setFID(int fID)
            throws IOException,
                   AutomationException
FID.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setFID in interface IFindObject
Parameters:
fID - The fID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFID

public int getFID()
           throws IOException,
                  AutomationException
FID.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFID in interface IFindObject
Returns:
The fID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flash

public void flash(IScreenDisplay pDisplay)
           throws IOException,
                  AutomationException
Flash the found object.

Product Availability

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

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

zoomTo

public void zoomTo(IScreenDisplay pDisplay)
            throws IOException,
                   AutomationException
Zoom to the found object.

Product Availability

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

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

identify

public void identify(IScreenDisplay pDisplay,
                     Object vIdentifyDialog)
              throws IOException,
                     AutomationException
Identify the found object.

Product Availability

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

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

setBookmark

public void setBookmark(IScreenDisplay pDisplay)
                 throws IOException,
                        AutomationException
Create bookmark at the found object.

Product Availability

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

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

isSelectable

public boolean isSelectable()
                     throws IOException,
                            AutomationException
Indicates if layer is selectable.

Product Availability

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

Specified by:
isSelectable in interface IRemoteFindObj
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

select

public void select(IScreenDisplay pDisplay)
            throws IOException,
                   AutomationException
Select found features.

Product Availability

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

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

unselect

public void unselect(IScreenDisplay pDisplay)
              throws IOException,
                     AutomationException
Unselect found features.

Product Availability

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

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