|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFindCallBack
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.
Method Summary | |
---|---|
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 |
setColumnValue(int column,
String rhs2)
Rows column value in listbox. |
void |
setObjectByRef(Object rhs1)
The object value of the new row. |
Method Detail |
---|
IApplication getApplication() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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
rhs1
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setColumnValue(int column, String rhs2) throws IOException, AutomationException
column
- The column (in)rhs2
- The rhs2 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getColumnCount() throws IOException, AutomationException
The number of columns in the value list.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
quitProcessing
- The quitProcessing (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void flashGeometry(IGeometry pGeometry, int nTimes, boolean bCoolFlash) throws IOException, AutomationException
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 |