public abstract class SwingIntermediateDefaultResultListener<E> extends SwingDefaultResultListener<Collection<E>> implements IIntermediateResultListener<E>
Constructor and Description |
---|
SwingIntermediateDefaultResultListener()
Create a new listener.
|
SwingIntermediateDefaultResultListener(Component parent)
Create a new listener.
|
SwingIntermediateDefaultResultListener(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(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, resultAvailable
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resultAvailable
exceptionOccurred
public SwingIntermediateDefaultResultListener()
public SwingIntermediateDefaultResultListener(Component parent)
parent
- The parent component (when errors should be shown as dialog).public SwingIntermediateDefaultResultListener(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 IIntermediateResultListener<E>
result
- The result.public final void finished()
finished
in interface IIntermediateResultListener<E>
public void customResultAvailable(Collection<E> result)
customResultAvailable
in class SwingDefaultResultListener<Collection<E>>
result
- The result.Copyright © 2013. All Rights Reserved.