|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.arcmapui.IFindCallBackProxy
public class IFindCallBackProxy
Provides access to members that control the results in a custom find dialog page.
See the IFinder interface for documentation and an example (VB6) of use.
Performing a search with a Find tab will typically return an array of features used to populate the result list that automatically appears at the bottom of the dialog. Populating this list is done with the IFindCallBack and IFeatureFindData interfaces.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IFindCallBackProxy()
|
|
IFindCallBackProxy(Object obj)
|
protected |
IFindCallBackProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
addNewRow()
Adds a new row to the listbox, using values set with ColumnValue. |
void |
flashGeometry(IGeometry pGeometry,
int nTimes,
boolean bCoolFlash)
Generic method to flash a point on the display n times. |
IApplication |
getApplication()
The application that this dialog belongs to. |
int |
getColumnCount()
Number of columns to display in list box. |
void |
processMessages(boolean[] quitProcessing)
Processes messages. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setColumnValue(int column,
String rhs2)
Rows column value in listbox. |
void |
setObjectByRef(Object rhs1)
The object value of the new row. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IFindCallBackProxy()
public IFindCallBackProxy(Object obj) throws IOException
IOException
protected IFindCallBackProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public IApplication getApplication() throws IOException, AutomationException
getApplication
in interface IFindCallBack
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setObjectByRef(Object rhs1) throws IOException, AutomationException
The object to show as a new row in the value list. Typically an IFeatureFindData.
A reference to a feature
setObjectByRef
in interface IFindCallBack
rhs1
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setColumnValue(int column, String rhs2) throws IOException, AutomationException
setColumnValue
in interface IFindCallBack
column
- The column (in)rhs2
- The rhs2 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getColumnCount() throws IOException, AutomationException
The number of columns in the value list.
getColumnCount
in interface IFindCallBack
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addNewRow() throws IOException, AutomationException
Adds a new row to the value list. Should be called once the properties of this interface and IFeatureFindData have been properly initialized.
addNewRow
in interface IFindCallBack
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void processMessages(boolean[] quitProcessing) throws IOException, AutomationException
Optionally call this method in the loop adding features to the value list of the Find dialog and stop populating the list when it returns false to give the user a chance to interrupt the process.
processMessages
in interface IFindCallBack
quitProcessing
- The quitProcessing (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void flashGeometry(IGeometry pGeometry, int nTimes, boolean bCoolFlash) throws IOException, AutomationException
flashGeometry
in interface IFindCallBack
pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)nTimes
- The nTimes (in)bCoolFlash
- The bCoolFlash (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |