ccc.client.gwt.widgets
Class SubmitControllerSelectionListener

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.SelectionListener<com.extjs.gxt.ui.client.event.ButtonEvent>
      extended by ccc.client.gwt.widgets.SubmitControllerSelectionListener
All Implemented Interfaces:
com.extjs.gxt.ui.client.event.Listener<com.extjs.gxt.ui.client.event.ButtonEvent>, java.util.EventListener

public class SubmitControllerSelectionListener
extends com.extjs.gxt.ui.client.event.SelectionListener<com.extjs.gxt.ui.client.event.ButtonEvent>

This selection listener calls an edit controllers submit method when the associated button is clicked.

Author:
Civic Computing Ltd.

Constructor Summary
SubmitControllerSelectionListener(EditController controller)
          Constructor.
 
Method Summary
 void componentSelected(com.extjs.gxt.ui.client.event.ButtonEvent ce)
          
 
Methods inherited from class com.extjs.gxt.ui.client.event.SelectionListener
handleEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubmitControllerSelectionListener

public SubmitControllerSelectionListener(EditController controller)
Constructor.

Parameters:
controller - The controller to notify.
Method Detail

componentSelected

public void componentSelected(com.extjs.gxt.ui.client.event.ButtonEvent ce)

Specified by:
componentSelected in class com.extjs.gxt.ui.client.event.SelectionListener<com.extjs.gxt.ui.client.event.ButtonEvent>


Copyright © 2010. All Rights Reserved.