com.esri.arcgis.cartoUI
Class SQLQueryDialog

java.lang.Object
  extended by com.esri.arcgis.cartoUI.SQLQueryDialog
All Implemented Interfaces:
ISQLQueryDialog, ISQLQueryDialog2, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class SQLQueryDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISQLQueryDialog, ISQLQueryDialog2

ESRI SQL Query Dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
SQLQueryDialog()
          Constructs a SQLQueryDialog using ArcGIS Engine.
SQLQueryDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SQLQueryDialog theSQLQueryDialog = (SQLQueryDialog) obj;
 
Method Summary
 boolean doModal(String initialSqlQuery, IFeatureClass pFeatureClass, int hwnd)
          Shows the SQL query dialog.
 boolean doModalEx(String initialSqlQuery, IFeatureLayer pLayer, int hwnd)
          Shows the SQL query dialog.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getSQLQuery()
          The SQL query entered in the dialog.
 int hashCode()
          the hashcode for this 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

SQLQueryDialog

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

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

SQLQueryDialog

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

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

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

getSQLQuery

public String getSQLQuery()
                   throws IOException,
                          AutomationException
The SQL query entered in the dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getSQLQuery in interface ISQLQueryDialog
Specified by:
getSQLQuery in interface ISQLQueryDialog2
Returns:
The val
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public boolean doModal(String initialSqlQuery,
                       IFeatureClass pFeatureClass,
                       int hwnd)
                throws IOException,
                       AutomationException
Shows the SQL query dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
doModal in interface ISQLQueryDialog
Specified by:
doModal in interface ISQLQueryDialog2
Parameters:
initialSqlQuery - The initialSqlQuery (in)
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
hwnd - The hwnd (A COM typedef) (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalEx

public boolean doModalEx(String initialSqlQuery,
                         IFeatureLayer pLayer,
                         int hwnd)
                  throws IOException,
                         AutomationException
Shows the SQL query dialog.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModalEx in interface ISQLQueryDialog2
Parameters:
initialSqlQuery - The initialSqlQuery (in)
pLayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
hwnd - The hwnd (A COM typedef) (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.