com.esri.arcgis.cartoUI
Interface IQueryWizard

All Superinterfaces:
Serializable
All Known Implementing Classes:
QueryWizard

public interface IQueryWizard
extends Serializable

Provides access to members of the query wizard.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean doModal(int parentHWnd)
          Shows the query wizard.
 int getCombinationMethod()
          The selected combination method (valid after calling DoModal).
 ILayer getLayer()
          The layer selected (valid after calling DoModal).
 String getWhereClause()
          The generated WHERE clause (valid after calling DoModal).
 void setInitialLayerByRef(ILayer rhs1)
          The initial layer (optional).
 void setMapByRef(IMap rhs1)
          The map.
 

Method Detail

setMapByRef

void setMapByRef(IMap rhs1)
                 throws IOException,
                        AutomationException
The map.

Product Availability

Available with ArcGIS Desktop.

Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setInitialLayerByRef

void setInitialLayerByRef(ILayer rhs1)
                          throws IOException,
                                 AutomationException
The initial layer (optional).

Product Availability

Available with ArcGIS Desktop.

Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayer

ILayer getLayer()
                throws IOException,
                       AutomationException
The layer selected (valid after calling DoModal).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWhereClause

String getWhereClause()
                      throws IOException,
                             AutomationException
The generated WHERE clause (valid after calling DoModal).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getCombinationMethod

int getCombinationMethod()
                         throws IOException,
                                AutomationException
The selected combination method (valid after calling DoModal).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A com.esri.arcgis.carto.esriSelectionResultEnum constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

boolean doModal(int parentHWnd)
                throws IOException,
                       AutomationException
Shows the query wizard.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
parentHWnd - The parentHWnd (A COM typedef) (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.