com.gwtext.client.widgets.form.event
Class FormListenerAdapter
java.lang.Object
com.gwtext.client.widgets.form.event.FormListenerAdapter
- All Implemented Interfaces:
- FormListener
public class FormListenerAdapter
- extends java.lang.Object
- implements FormListener
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 |
FormListenerAdapter
public FormListenerAdapter()
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
- thishttpStatus
- the http status coderesponseText
- 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
- thishttpStatus
- the http status coderesponseText
- 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