org.viewaframework.widget.controller
Class ExitActionController

java.lang.Object
  extended by org.viewaframework.controller.AbstractViewController<ActionListener,ActionEvent>
      extended by org.viewaframework.controller.AbstractActionController
          extended by org.viewaframework.widget.controller.ExitActionController
All Implemented Interfaces:
InvocationHandler, ListenerProxy<ActionListener,ActionEvent>, ViewController<ActionListener,ActionEvent>, ViewContainerLocatorAware

public class ExitActionController
extends AbstractActionController

This controller closes the view having the component that has triggered the event. If that view is the root view, then the application ends.

Since:
1.0.2
Author:
Mario Garcia

Field Summary
static String EXIT_PATTERN
           
 
Constructor Summary
ExitActionController()
           
 
Method Summary
 void postHandlingView(ViewContainer view, ActionEvent eventObject)
          Used for some UI updating before the logical code has been called.
 
Methods inherited from class org.viewaframework.controller.AbstractActionController
getSupportedClass
 
Methods inherited from class org.viewaframework.controller.AbstractViewController
executeHandler, getTargetController, getViewManager, handleView, invoke, locate, locate, locateRootView, preHandlingView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXIT_PATTERN

public static final String EXIT_PATTERN
See Also:
Constant Field Values
Constructor Detail

ExitActionController

public ExitActionController()
Method Detail

postHandlingView

public void postHandlingView(ViewContainer view,
                             ActionEvent eventObject)
                      throws ViewException
Description copied from interface: ViewController
Used for some UI updating before the logical code has been called.

Specified by:
postHandlingView in interface ViewController<ActionListener,ActionEvent>
Overrides:
postHandlingView in class AbstractViewController<ActionListener,ActionEvent>
Throws:
ViewException


Copyright © 2010. All Rights Reserved.