|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.arcmapui.FindFeatures
public class FindFeatures
Provides access to FindFeatures. Create a class with this interface (and add to category) for custom find dialog page.
| Constructor Summary | |
|---|---|
FindFeatures()
Constructs a FindFeatures using ArcGIS Engine. |
|
FindFeatures(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FindFeatures theFindFeatures = (FindFeatures) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
find(IFindCallBack pFindCallBack)
Perform find functionality. |
static String |
getClsid()
getClsid. |
int |
getColumnCount()
Number of columns to display in list box. |
String |
getColumnName(int column)
The column name. |
int |
getColumnWidth(int column)
The column width in Dialog Units (1/4 of avg. |
int |
getHWnd()
The window handle for the finder. |
IUID |
getMenuUID()
UID of menu to popup in list box. |
String |
getName()
The control name. |
int |
hashCode()
the hashcode for this object |
void |
initializeControl(IApplication pApplication,
IFindPanelEvents pFindEventsCallBack)
Called to initialize control. |
void |
newSearch()
New search. |
void |
stop()
User requested find to stop. |
void |
updateControl()
Called whenever ArcMap status changes. |
| 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 |
|---|
public FindFeatures()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public FindFeatures(Object obj)
throws IOException
FindFeatures theFindFeatures = (FindFeatures) obj;
obj to FindFeatures.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void initializeControl(IApplication pApplication,
IFindPanelEvents pFindEventsCallBack)
throws IOException,
AutomationException
Called on when the Find dialog is loaded the first time.
initializeControl in interface IFinderpApplication - A reference to a com.esri.arcgis.framework.IApplication (in)pFindEventsCallBack - A reference to a com.esri.arcgis.arcmapui.IFindPanelEvents (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateControl()
throws IOException,
AutomationException
Called by ArcMap when control needs to be redrawn.
updateControl in interface IFinderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getName()
throws IOException,
AutomationException
getName in interface IFinderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getColumnCount()
throws IOException,
AutomationException
Return the number of columns the result list should contain.
getColumnCount in interface IFinderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getColumnName(int column)
throws IOException,
AutomationException
getColumnName in interface IFindercolumn - The column (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getColumnWidth(int column)
throws IOException,
AutomationException
getColumnWidth in interface IFindercolumn - The column (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getMenuUID()
throws IOException,
AutomationException
UID of the context menu that will be shown when the user right-clicks a value in the result list. The standard menu esriArcMapUI.FeatureFindContextMenu can be used.
You should set the value of IMXDocument::ContextItem to an ISet containing the features returned by the search to correctly support the use of a context menu.
getMenuUID in interface IFinderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void find(IFindCallBack pFindCallBack)
throws IOException,
AutomationException
Perform the search.
Parameters such as the layer on which to perform the search and the value to search for are typically read from the controls in your tab.
You may search the layer using the IFind interface or any other selection function.
Each feature in the array corresponding to the result of the search is managed using the IFeatureFindData interface. For each feature, do set the IFeatureFindData::Layer and IFeatureFindData::ActiveView properties.
Use IFindCallBack to add these features to the result list. For each of them set the Object property and the Column values then call the AddNewRow method.
find in interface IFinderpFindCallBack - A reference to a com.esri.arcgis.arcmapui.IFindCallBack (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void stop()
throws IOException,
AutomationException
Called when the user clicks on the Stop button.
stop in interface IFinderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void newSearch()
throws IOException,
AutomationException
Called when the user clicks on the New Search button.
newSearch in interface IFinderIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHWnd()
throws IOException,
AutomationException
getHWnd in interface IFinderIOException - 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 | ||||||||