kaos.robots.util
Class CallbackListener
java.lang.Object
kaos.robots.util.CallbackListener
- All Implemented Interfaces:
- ICallbackListener
public class CallbackListener
- extends java.lang.Object
- implements ICallbackListener
Constructor Summary |
CallbackListener(java.lang.String action,
javax.swing.JButton btn)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallbackListener
public CallbackListener(java.lang.String action,
javax.swing.JButton btn)
onAccepted
public void onAccepted(java.util.Calendar time)
- Specified by:
onAccepted
in interface ICallbackListener
onRefused
public void onRefused(java.util.Calendar time,
Reason r)
- Specified by:
onRefused
in interface ICallbackListener
onStarted
public void onStarted(java.util.Calendar time)
- Specified by:
onStarted
in interface ICallbackListener
onCompleted
public void onCompleted(java.util.Calendar time,
java.lang.Object result)
- Specified by:
onCompleted
in interface ICallbackListener
onAborted
public void onAborted(java.util.Calendar time,
Reason r)
- Specified by:
onAborted
in interface ICallbackListener
reset
public void reset()
- Specified by:
reset
in interface ICallbackListener
setResult
public void setResult(java.lang.Object result)
getResult
public java.lang.Object getResult()