org.fuin.jmsmvc4swing.base
Class ControllerResultAdapter

java.lang.Object
  extended by org.fuin.jmsmvc4swing.base.ControllerResultAdapter
All Implemented Interfaces:
ControllerResultListener

public class ControllerResultAdapter
extends java.lang.Object
implements ControllerResultListener

Receives controller results and does nothing by default. Can be overwritten to receive the events you're interested in.


Constructor Summary
ControllerResultAdapter()
           
 
Method Summary
 void failed(java.lang.Exception ex)
          Work was interrupted by an exception.
 void progress(ProgressInfo progressInfo)
          Controller signals progress.
 void started()
          Controller started working.
 void succeded()
          Controller finished work.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerResultAdapter

public ControllerResultAdapter()
Method Detail

started

public void started()
Controller started working.

Specified by:
started in interface ControllerResultListener

progress

public void progress(ProgressInfo progressInfo)
Controller signals progress.

Specified by:
progress in interface ControllerResultListener
Parameters:
progressInfo - Progress informations.

failed

public void failed(java.lang.Exception ex)
Work was interrupted by an exception.

Specified by:
failed in interface ControllerResultListener
Parameters:
ex - Cause.

succeded

public void succeded()
Controller finished work.

Specified by:
succeded in interface ControllerResultListener


Copyright © 2010 Future Invent Informationsmanagement GmbH. All Rights Reserved.