com.gwtext.client.widgets.form.event
Class FormListenerAdapter

java.lang.Object
  extended by com.gwtext.client.widgets.form.event.FormListenerAdapter
All Implemented Interfaces:
FormListener

public class FormListenerAdapter
extends java.lang.Object
implements FormListener


Constructor Summary
FormListenerAdapter()
           
 
Method Summary
 boolean doBeforeAction(Form form)
          Fires before any action is performed.
 void onActionComplete(Form form, int httpStatus, java.lang.String responseText)
          Fires when an action is completed.
 void onActionFailed(Form form, int httpStatus, java.lang.String responseText)
          Fires when an action fails.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormListenerAdapter

public FormListenerAdapter()
Method Detail

onActionComplete

public void onActionComplete(Form form,
                             int httpStatus,
                             java.lang.String responseText)
Description copied from interface: FormListener
Fires when an action is completed.

Specified by:
onActionComplete in interface FormListener
Parameters:
form - this
httpStatus - the http status code
responseText - the result html returned by the server

onActionFailed

public void onActionFailed(Form form,
                           int httpStatus,
                           java.lang.String responseText)
Description copied from interface: FormListener
Fires when an action fails.

Specified by:
onActionFailed in interface FormListener
Parameters:
form - this
httpStatus - the http status code
responseText - the result html returned by the server

doBeforeAction

public boolean doBeforeAction(Form form)
Description copied from interface: FormListener
Fires before any action is performed. Return false to cancel the action.

Specified by:
doBeforeAction in interface FormListener
Parameters:
form - this
Returns:
false to cancel the action