org.objectweb.jac.aspects.gui.web
Interface WindowListener

All Known Subinterfaces:
DialogListener
All Known Implementing Classes:
Customized, Dialog, EditorContainer, ObjectView, Page

public interface WindowListener

This interface defines event for Windows view.


Method Summary
 void onCancel()
          Called when the Cancel button was pressed by the user.
 void onOK(JacRequest request)
          Called when the OK button was pressed by the user.
 void onRefresh(JacRequest request)
          Called when the Refresh button was pressed by the user.
 void onValidate(JacRequest request)
          Validates inputs, but creates no HTML.
 

Method Detail

onOK

public void onOK(JacRequest request)
Called when the OK button was pressed by the user. Validates editors and closes the window.

Parameters:
request - the servlet request

onRefresh

public void onRefresh(JacRequest request)
Called when the Refresh button was pressed by the user. Validates editors and but does not close the window.

Parameters:
request - the servlet request

onCancel

public void onCancel()
Called when the Cancel button was pressed by the user. Closes the dialog without validating editors.


onValidate

public void onValidate(JacRequest request)
Validates inputs, but creates no HTML.