Class SearchAction.SelectSearchReceiver
java.lang.Object
org.openstreetmap.josm.actions.search.SearchAction.SelectSearchReceiver
- All Implemented Interfaces:
SearchAction.SearchReceiver
- Enclosing class:
- SearchAction
private static final class SearchAction.SelectSearchReceiver
extends Object
implements SearchAction.SearchReceiver
Select the search result and display a status text for it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreceiveSearchResult(OsmData<?, ?, ?, ?> ds, Collection<IPrimitive> result, int foundMatches, SearchSetting setting, Component parent) Receive the search result
-
Constructor Details
-
SelectSearchReceiver
private SelectSearchReceiver()
-
-
Method Details
-
receiveSearchResult
public void receiveSearchResult(OsmData<?, ?, ?, ?> ds, Collection<IPrimitive> result, int foundMatches, SearchSetting setting, Component parent) Description copied from interface:SearchAction.SearchReceiverReceive the search result- Specified by:
receiveSearchResultin interfaceSearchAction.SearchReceiver- Parameters:
ds- The data set searched on.result- The result collection, including the initial collection.foundMatches- The number of matches added to the result.setting- The setting used.parent- parent component
-