|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AlgorithmListener
Any class can implement this interface to be notified about algorithm events. Classes
implementing this interface can be added to the algorithm as an event listener using
Algorithm.addAlgorithmListener(AlgorithmListener).
| Method Summary | |
|---|---|
void |
algorithmFinished(AlgorithmEvent e)
This event is fired when the algorithm has completed normally. |
void |
algorithmStarted(AlgorithmEvent e)
This event is fired just prior to the execution of the main loop of the algorithm. |
void |
algorithmTerminated(AlgorithmEvent e)
This event is fired when the algorithm is terminated abnormally. |
AlgorithmListener |
getClone()
Create a cloned copy of the current object and return it. |
void |
iterationCompleted(AlgorithmEvent e)
This event is fired after each iteration of the mail loop of the algorithm. |
| Method Detail |
|---|
void algorithmStarted(AlgorithmEvent e)
e - an event containing a reference to the source algorithm.void algorithmFinished(AlgorithmEvent e)
e - an event containing a reference to the source algorithm.void algorithmTerminated(AlgorithmEvent e)
e - an event containing a reference to the source algorithm.void iterationCompleted(AlgorithmEvent e)
e - an event containing a reference to the source algorithm.AlgorithmListener getClone()
getClone in interface CloneableObject.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||