public abstract class SwingDefaultResultListener<E> extends DefaultResultListener<E>
| Constructor and Description |
|---|
SwingDefaultResultListener()
Create a new listener.
|
SwingDefaultResultListener(Component parent)
Create a new listener.
|
SwingDefaultResultListener(Logger logger)
Create a new listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
customExceptionOccurred(Exception exception)
Called when an exception occurred.
|
abstract void |
customResultAvailable(E result)
Called when the result is available.
|
void |
exceptionOccurred(Exception exception)
Called when an exception occurred.
|
void |
resultAvailable(E result)
Called when the result is available.
|
public SwingDefaultResultListener()
public SwingDefaultResultListener(Component parent)
parent - The parent component (when errors should be shown as dialog).public SwingDefaultResultListener(Logger logger)
logger - The logger.public final void resultAvailable(E result)
result - The result.public final void exceptionOccurred(Exception exception)
exceptionOccurred in interface IResultListener<E>exceptionOccurred in class DefaultResultListener<E>exception - The exception.public abstract void customResultAvailable(E result)
result - The result.public void customExceptionOccurred(Exception exception)
exception - The exception.Copyright © 2012. All Rights Reserved.