|
org.openide.awt 7.55.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface QuickSearch.Callback
Call back interface, that is notified with the submissions to the quick search field.
| Method Summary | |
|---|---|
String |
findMaxPrefix(String prefix)
Find the maximum prefix among the search results, that starts with the provided string. |
void |
quickSearchCanceled()
Called when the quick search is canceled by the user. |
void |
quickSearchConfirmed()
Called when the quick search is confirmed by the user. |
void |
quickSearchUpdate(String searchText)
Called with an updated search text. |
void |
showNextSelection(boolean forward)
Called to select a next occurrence of the search result. |
| Method Detail |
|---|
void quickSearchUpdate(String searchText)
#isAsynchronous() is false
it's called in EQ thread, otherwise, it's called in a background thread.
The client should update the visual representation of the search results
and then return.This method is called to initiate and update the search process.
searchText - The new text to search for.void showNextSelection(boolean forward)
#isAsynchronous() is false
it's called in EQ thread, otherwise, it's called in a background thread.
The client should update the visual representation of the search results
and then return.
forward - The direction of the next search result.
true for forward direction,
false for backward direction.String findMaxPrefix(String prefix)
#isAsynchronous() is false
it's called in EQ thread, otherwise, it's called in a background thread.
Utility method QuickSearch.findMaxPrefix(java.lang.String, java.lang.String, boolean)
can be used by the implementation.
prefix - The prefix to start with
void quickSearchConfirmed()
void quickSearchCanceled()
|
org.openide.awt 7.55.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||