com.esri.arcgis.catalogUI
Class FindDialog

java.lang.Object
  extended by com.esri.arcgis.catalogUI.FindDialog
All Implemented Interfaces:
IGxSelectionEvents, IFindDialog, ISearchEngineEvents, IDllThreadManager, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable, java.util.EventListener

public class FindDialog
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IFindDialog, ISearchEngineEvents, IGxSelectionEvents, IDllThreadManager

COM Class 'FindDialog'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriCatalogUI.olb'

Description 'The Search dialog box.' 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.catalogUI.IFindDialog
IID, IID70e62545_d396_11d3_a6f3_0008c7d3ae50, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalogUI.ISearchEngineEvents
IID, IIDd18306a3_9d3c_11d3_a6cb_0008c7d3ae50, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalog.IGxSelectionEvents
IID, IIDbdbbb3f9_d0b2_11d1_aed9_080009ec734b, xxDummy
 
Fields inherited from interface com.esri.arcgis.framework.IDllThreadManager
IID, IID52bcff1b_6a36_49df_b14f_be227d8543ef, xxDummy
 
Constructor Summary
FindDialog()
          Constructs a FindDialog using ArcGIS Engine.
FindDialog(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FindDialog theFindDialog = (FindDialog) obj;
 
Method Summary
 void doSearch(IQuery pQuery)
          Starts executing the search defined by the query.
 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 getNumSearchEngines()
          Number of available search engines.
 ISearchEngine getSearchEngine(int index)
          The nth search engine.
 int hashCode()
          the hashcode for this object
 void initialize(IQuery pQuery)
          Initializes the dialog box based on a query's parameters and then opens it.
 boolean isVisible()
          Indicates if the dialog box is visible.
 void objectFound(ISearchEngineEventsObjectFoundEvent theEvent)
          Fired when an object is found that satisfies the search criteria.
 void onSelectionChanged(IGxSelectionEventsOnSelectionChangedEvent theEvent)
          Called when the selection contents have changed.
 void onShutdown()
          Occurs when the application is shutting down.
 void release()
          Release a FindDialog.
 void searchCanceled(ISearchEngineEventsSearchCanceledEvent theEvent)
          Fired when the search is explicitly canceled.
 void searchFailed(ISearchEngineEventsSearchFailedEvent theEvent)
          Fired when the search terminates prematurely.
 void searchFinished(ISearchEngineEventsSearchFinishedEvent theEvent)
          Fired when the search is complete.
 void searchLocationChanged(ISearchEngineEventsSearchLocationChangedEvent theEvent)
          Fired when the search begins looking inside a new folder or other container.
 void show(boolean bShow)
          Initializes the dialog box and opens it if indicated.
 void stopSearch()
          Cancels an ongoing search.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindDialog

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

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

FindDialog

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

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

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

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

show

public void show(boolean bShow)
          throws java.io.IOException,
                 AutomationException
Initializes the dialog box and opens it if indicated.

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

isVisible

public boolean isVisible()
                  throws java.io.IOException,
                         AutomationException
Indicates if the dialog box is visible.

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

doSearch

public void doSearch(IQuery pQuery)
              throws java.io.IOException,
                     AutomationException
Starts executing the search defined by the query.

Specified by:
doSearch in interface IFindDialog
Parameters:
pQuery - A reference to a com.esri.arcgis.catalog.IQuery (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopSearch

public void stopSearch()
                throws java.io.IOException,
                       AutomationException
Cancels an ongoing search.

Specified by:
stopSearch in interface IFindDialog
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initialize

public void initialize(IQuery pQuery)
                throws java.io.IOException,
                       AutomationException
Initializes the dialog box based on a query's parameters and then opens it.

Specified by:
initialize in interface IFindDialog
Parameters:
pQuery - A reference to a com.esri.arcgis.catalog.IQuery (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumSearchEngines

public int getNumSearchEngines()
                        throws java.io.IOException,
                               AutomationException
Number of available search engines.

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

getSearchEngine

public ISearchEngine getSearchEngine(int index)
                              throws java.io.IOException,
                                     AutomationException
The nth search engine.

Specified by:
getSearchEngine in interface IFindDialog
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.catalogUI.ISearchEngine
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

objectFound

public void objectFound(ISearchEngineEventsObjectFoundEvent theEvent)
                 throws java.io.IOException,
                        AutomationException
Fired when an object is found that satisfies the search criteria.

Specified by:
objectFound in interface ISearchEngineEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

searchFinished

public void searchFinished(ISearchEngineEventsSearchFinishedEvent theEvent)
                    throws java.io.IOException,
                           AutomationException
Fired when the search is complete.

Specified by:
searchFinished in interface ISearchEngineEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

searchFailed

public void searchFailed(ISearchEngineEventsSearchFailedEvent theEvent)
                  throws java.io.IOException,
                         AutomationException
Fired when the search terminates prematurely.

Specified by:
searchFailed in interface ISearchEngineEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

searchCanceled

public void searchCanceled(ISearchEngineEventsSearchCanceledEvent theEvent)
                    throws java.io.IOException,
                           AutomationException
Fired when the search is explicitly canceled.

Specified by:
searchCanceled in interface ISearchEngineEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

searchLocationChanged

public void searchLocationChanged(ISearchEngineEventsSearchLocationChangedEvent theEvent)
                           throws java.io.IOException,
                                  AutomationException
Fired when the search begins looking inside a new folder or other container.

Specified by:
searchLocationChanged in interface ISearchEngineEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onSelectionChanged

public void onSelectionChanged(IGxSelectionEventsOnSelectionChangedEvent theEvent)
                        throws java.io.IOException,
                               AutomationException
Called when the selection contents have changed.

Specified by:
onSelectionChanged in interface IGxSelectionEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onShutdown

public void onShutdown()
                throws java.io.IOException,
                       AutomationException
Occurs when the application is shutting down. DLL threads should be terminated upon receiving this message.

Specified by:
onShutdown in interface IDllThreadManager
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.