com.jstatcom.engine
Interface PCallListener
-
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- DefaultPCallControl, PCallAdapter
public interface PCallListener extends java.util.EventListenerInterface to be implemented by listeners toPCallobjects. All calls are synchronized with the SwingEventDispatchingThread, because interested listeners usually are graphical objects that invoke some kind of GUI operation. An empty convenience implementation isPCallAdapter.- See Also:
PCall,PCallAdapter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidfinished(PCall pc)Invoked when a procedure finishes, no matter whether the call was successful, interrupted or erroneous.voidqueued(PCall pc)Invoked when a procedure was queued in the main worker thread.voidstarted(PCall pc)Invoked when the procedure's run method was called within the main worker thread.voidsuccess()Invoked when a procedure finished successfully and was not interrupted.
-
-
-
Method Detail
-
finished
void finished(PCall pc)
Invoked when a procedure finishes, no matter whether the call was successful, interrupted or erroneous.- Parameters:
pc- the calling object
-
queued
void queued(PCall pc)
Invoked when a procedure was queued in the main worker thread.- Parameters:
pc- the calling object
-
started
void started(PCall pc)
Invoked when the procedure's run method was called within the main worker thread.- Parameters:
pc- the calling object
-
success
void success()
Invoked when a procedure finished successfully and was not interrupted. This method is a convenience implementation, because it is the most common case. The functionality is the same as usingfinishedplus checking the source call for success.
-
-
DMelt 3.0 © DataMelt by jWork.ORG