public abstract class SwingIntermediateDefaultResultListener<E> extends SwingDefaultResultListener<java.util.Collection<E>> implements IIntermediateResultListener<E>
customExceptionListener, customResultListener, parent| Constructor and Description | 
|---|
| SwingIntermediateDefaultResultListener()Create a new listener. | 
| SwingIntermediateDefaultResultListener(java.awt.Component parent)Create a new listener. | 
| SwingIntermediateDefaultResultListener(java.util.logging.Logger logger)Create a new listener. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | customFinished()Declare that the future is finished. | 
| abstract void | customIntermediateResultAvailable(E result)Called when an intermediate result is available. | 
| void | customResultAvailable(java.util.Collection<E> result)Overwritten to call intermediate and finished methods. | 
| void | finished()Call customFinished() on swing thread. | 
| void | intermediateResultAvailable(E result)Call customIntermediateResultAvailable() on swing thread. | 
commandAvailable, customCommandAvailable, customExceptionOccurred, exceptionOccurred, resultAvailableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresultAvailableexceptionOccurredpublic SwingIntermediateDefaultResultListener()
public SwingIntermediateDefaultResultListener(java.awt.Component parent)
parent - The parent component (when errors should be shown as dialog).public SwingIntermediateDefaultResultListener(java.util.logging.Logger logger)
logger - The logger.public abstract void customIntermediateResultAvailable(E result)
result - The result.public void customFinished()
public final void intermediateResultAvailable(E result)
intermediateResultAvailable in interface IFunctionalIntermediateResultListener<E>intermediateResultAvailable in interface IIntermediateResultListener<E>result - The result.public final void finished()
finished in interface IFunctionalIntermediateFinishedListenerfinished in interface IIntermediateResultListener<E>public void customResultAvailable(java.util.Collection<E> result)
customResultAvailable in class SwingDefaultResultListener<java.util.Collection<E>>result - The result.