com.esri.arcgis.arcmapui
Class QueryAttributes

java.lang.Object
  extended by com.esri.arcgis.arcmapui.QueryAttributes
All Implemented Interfaces:
IModelessQueryAttributes, IQueryAttributes, IObjectClassSchemaEvents, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable, java.util.EventListener

public class QueryAttributes
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IQueryAttributes, IModelessQueryAttributes, IObjectClassSchemaEvents

COM Class 'QueryAttributes'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'

Description 'Display query attribute dialog in Mx.' 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.arcmapui.IQueryAttributes
IID, IID9e138101_6dcc_11d2_a07e_0000f8775bf9, xxDummy
 
Fields inherited from interface com.esri.arcgis.arcmapui.IModelessQueryAttributes
IID, IID4393f3fd_1afc_11d4_9fee_00c04f6bc78e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IObjectClassSchemaEvents
IID, IIDf1e8911b_6bc5_11d3_a021_00c04f6bdf0e, xxDummy
 
Constructor Summary
QueryAttributes()
          Constructs a QueryAttributes using ArcGIS Engine.
QueryAttributes(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
QueryAttributes theQueryAttributes = (QueryAttributes) obj;
 
Method Summary
 void doModal(int parentHWnd)
          Shows attribute query window in a modal state.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getCombinationMethod()
          CombinationMethod on form.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 ILayer getLayer()
          Layer selected by the user.
 IQueryFilter getQueryFilter()
          Provide a QueryFilter after form has been executed.
 int hashCode()
          the hashcode for this object
 void onAddField(IObjectClassSchemaEventsOnAddFieldEvent theEvent)
          This event is fired when a new field is added to the object class.
 void onBehaviorChanged(IObjectClassSchemaEventsOnBehaviorChangedEvent theEvent)
          This event is fired when the behavior class for the object class changes.
 void onDeleteField(IObjectClassSchemaEventsOnDeleteFieldEvent theEvent)
          This event is fired when a field is deleted from the object class.
 void refresh()
          Refreshes the attribute query window when it's in a modeless state.
 void release()
          Release a QueryAttributes.
 void setApplicationByRef(java.lang.Object rhs1)
          Provides the window with a reference to the application.
 void setCombinationMethod(int pMethod)
          CombinationMethod on form.
 void setExpression(java.lang.String rhs1)
          Default expression.
 void setLayerByRef(ILayer ppLayer)
          Layer selected by the user.
 void setSelectFeaturesInLayerOnOK(boolean rhs1)
          When the user presses OK, select features.
 void show(int parentHWnd)
          Shows attribute query window in a modeless state.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryAttributes

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

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

QueryAttributes

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

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

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

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

setApplicationByRef

public void setApplicationByRef(java.lang.Object rhs1)
                         throws java.io.IOException,
                                AutomationException
Provides the window with a reference to the application.

Specified by:
setApplicationByRef in interface IQueryAttributes
Parameters:
rhs1 - A reference to another Automation Object (IDispatch) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public void doModal(int parentHWnd)
             throws java.io.IOException,
                    AutomationException
Shows attribute query window in a modal state.

Specified by:
doModal in interface IQueryAttributes
Parameters:
parentHWnd - The parentHWnd (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCombinationMethod

public void setCombinationMethod(int pMethod)
                          throws java.io.IOException,
                                 AutomationException
CombinationMethod on form.

Specified by:
setCombinationMethod in interface IQueryAttributes
Parameters:
pMethod - A com.esri.arcgis.carto.esriSelectionResultEnum constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCombinationMethod

public int getCombinationMethod()
                         throws java.io.IOException,
                                AutomationException
CombinationMethod on form.

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

getLayer

public ILayer getLayer()
                throws java.io.IOException,
                       AutomationException
Layer selected by the user.

Specified by:
getLayer in interface IQueryAttributes
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerByRef

public void setLayerByRef(ILayer ppLayer)
                   throws java.io.IOException,
                          AutomationException
Layer selected by the user.

Specified by:
setLayerByRef in interface IQueryAttributes
Parameters:
ppLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectFeaturesInLayerOnOK

public void setSelectFeaturesInLayerOnOK(boolean rhs1)
                                  throws java.io.IOException,
                                         AutomationException
When the user presses OK, select features. If there is an error, don't return. Default: FALSE.

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

setExpression

public void setExpression(java.lang.String rhs1)
                   throws java.io.IOException,
                          AutomationException
Default expression.

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

getQueryFilter

public IQueryFilter getQueryFilter()
                            throws java.io.IOException,
                                   AutomationException
Provide a QueryFilter after form has been executed.

Specified by:
getQueryFilter in interface IQueryAttributes
Returns:
A reference to a com.esri.arcgis.geodatabase.IQueryFilter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

show

public void show(int parentHWnd)
          throws java.io.IOException,
                 AutomationException
Shows attribute query window in a modeless state.

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

refresh

public void refresh()
             throws java.io.IOException,
                    AutomationException
Refreshes the attribute query window when it's in a modeless state.

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

onAddField

public void onAddField(IObjectClassSchemaEventsOnAddFieldEvent theEvent)
                throws java.io.IOException,
                       AutomationException
This event is fired when a new field is added to the object class.

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

onDeleteField

public void onDeleteField(IObjectClassSchemaEventsOnDeleteFieldEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
This event is fired when a field is deleted from the object class.

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

onBehaviorChanged

public void onBehaviorChanged(IObjectClassSchemaEventsOnBehaviorChangedEvent theEvent)
                       throws java.io.IOException,
                              AutomationException
This event is fired when the behavior class for the object class changes.

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