|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The listener interface for receiving search result or status
fired from SearchHelper, which basically is
a helper class of ice.pilots.html4.Search for
frameset support.
The class that is interested in processing the search status must implements this interface to set search result message or enable/disable find buttons.
The class that implements this interface needs to be registered
to SearchHelper using addStatusChangeListener
method.
SearchStatusEventAdapter,
SearchHelper| Method Summary | |
void |
reset(int signal)
Invoked when the document of top level Viewport or child
Viewport is changed. |
void |
setSearchEnabled(boolean b)
Invoked when executing search is currently allowed or disallowed. |
void |
setSearchStatusMessage(int status,
int number_of_matches)
Invoked when search result message needs to be set. |
| Method Detail |
public void setSearchStatusMessage(int status,
int number_of_matches)
status - number_of_matches - The number of matches found. It is meaningful
only if status equals SearchHelper.MATCH_FOUND and number_of_matches
> 0.public void setSearchEnabled(boolean b)
b - true if executing search is allowed, false otherwise.public void reset(int signal)
Viewport or child
Viewport is changed. This is useful when you use it in a
non-modal form.
signal - Viewport
is changed and HIGHLIGHT button, WHOLE-WORD and MATCH-CASE check boxes
need to be reset.Viewport
is changed and for example HIGHLIGHT button needs to be reset.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||