Package jadex.tools.jcc
Class JCCResultListener<E>
- java.lang.Object
-
- jadex.commons.future.DefaultResultListener<E>
-
- jadex.commons.gui.future.SwingDefaultResultListener<E>
-
- jadex.tools.jcc.JCCResultListener<E>
-
- All Implemented Interfaces:
IFunctionalExceptionListener
,IFunctionalResultListener<E>
,IFutureCommandResultListener<E>
,IResultListener<E>
public class JCCResultListener<E> extends SwingDefaultResultListener<E>
JCC result listener.
-
-
Field Summary
Fields Modifier and Type Field Description protected IControlCenter
controlcenter
The global control center.-
Fields inherited from class jadex.commons.gui.future.SwingDefaultResultListener
customExceptionListener, customResultListener, parent
-
-
Constructor Summary
Constructors Constructor Description JCCResultListener(IControlCenter controlcenter)
Create a new jcc listener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customExceptionOccurred(java.lang.Exception exception)
Called when exception occurred.void
customResultAvailable(E result)
Called when result is available.-
Methods inherited from class jadex.commons.gui.future.SwingDefaultResultListener
commandAvailable, customCommandAvailable, exceptionOccurred, resultAvailable, unblock
-
-
-
-
Field Detail
-
controlcenter
protected IControlCenter controlcenter
The global control center.
-
-
Constructor Detail
-
JCCResultListener
public JCCResultListener(IControlCenter controlcenter)
Create a new jcc listener.
-
-
Method Detail
-
customResultAvailable
public void customResultAvailable(E result)
Called when result is available.- Overrides:
customResultAvailable
in classSwingDefaultResultListener<E>
- Parameters:
result
- The result.
-
customExceptionOccurred
public void customExceptionOccurred(java.lang.Exception exception)
Called when exception occurred.- Overrides:
customExceptionOccurred
in classSwingDefaultResultListener<E>
- Parameters:
exception
- The exception.
-
-