com.esri.arcgis.cartoUI
Class QueryWizard

java.lang.Object
  extended by com.esri.arcgis.cartoUI.QueryWizard
All Implemented Interfaces:
IQueryWizard, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class QueryWizard
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IQueryWizard

Query wizard.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
QueryWizard()
          Constructs a QueryWizard using ArcGIS Engine.
QueryWizard(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
QueryWizard theQueryWizard = (QueryWizard) obj;
 
Method Summary
 boolean doModal(int parentHWnd)
          Shows the query wizard.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 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).
 int hashCode()
          the hashcode for this object
 void setInitialLayerByRef(ILayer rhs1)
          The initial layer (optional).
 void setMapByRef(IMap rhs1)
          The map.
 
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

QueryWizard

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

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

QueryWizard

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

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

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

setMapByRef

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

Product Availability

Available with ArcGIS Desktop.

Specified by:
setMapByRef in interface IQueryWizard
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

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

Product Availability

Available with ArcGIS Desktop.

Specified by:
setInitialLayerByRef in interface IQueryWizard
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

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getLayer in interface IQueryWizard
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

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getWhereClause in interface IQueryWizard
Returns:
The whereClause
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCombinationMethod

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

doModal

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
doModal in interface IQueryWizard
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.