|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
FindReplaceListener.java | - | - | - | - |
|
1 |
import java.util.EventListener;
|
|
2 |
|
|
3 |
/**
|
|
4 |
* Interface for implementing a listener for <code>FindReplaceEvents</code>.
|
|
5 |
*
|
|
6 |
* <p>For implementing this interface, methods getFirstDocument and
|
|
7 |
* getNextDocument need to be overridden by code providing a new document
|
|
8 |
* for the a FindReplaceDialog. Once a new document is on hand,
|
|
9 |
* methods resumeOperation or terminateOperation of the FindReplaceDialog
|
|
10 |
* need to be called from out of this interfaces methods to resume or
|
|
11 |
* terminate the find or replace operation,
|
|
12 |
* which is waiting for the new document in the FindReplaceDialog.</p>
|
|
13 |
*
|
|
14 |
* <p>Added i18n support for application SimplyHTML in version 1.5</p>
|
|
15 |
*
|
|
16 |
* @author Ulrich Hilger
|
|
17 |
* @author CalCom
|
|
18 |
* @author <a href="http://www.calcom.de">http://www.calcom.de</a>
|
|
19 |
* @author <a href="mailto:info@calcom.de">info@calcom.de</a>
|
|
20 |
*
|
|
21 |
* @version 1.5, April 27, 2003
|
|
22 |
*/
|
|
23 |
|
|
24 |
public interface FindReplaceListener extends EventListener { |
|
25 |
|
|
26 |
/**
|
|
27 |
* this events gets fired, when a FindReplaceDialog has reached
|
|
28 |
* the end of the current document and requires the next document
|
|
29 |
* of a group of documents.
|
|
30 |
*
|
|
31 |
* @param e the object having details for the event
|
|
32 |
*/
|
|
33 |
public void getNextDocument(FindReplaceEvent e); |
|
34 |
|
|
35 |
/**
|
|
36 |
* this events gets fired, when a FindReplaceDialog has initiated
|
|
37 |
* an operation for a group of documents which requires to start at
|
|
38 |
* the first document.
|
|
39 |
*
|
|
40 |
* @param e the object having details for the event
|
|
41 |
*/
|
|
42 |
public void getFirstDocument(FindReplaceEvent e); |
|
43 |
|
|
44 |
/**
|
|
45 |
* this event gets fired when a FindReplaceDialog has finalized its
|
|
46 |
* task.
|
|
47 |
*
|
|
48 |
* @param e the object having details for the event
|
|
49 |
*/
|
|
50 |
public void findReplaceTerminated(FindReplaceEvent e); |
|
51 |
|
|
52 |
} |
|