Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cocoon.forms.event
Interface FormHandler

All Known Implementing Classes:
  AbstractFormHandler

public interface FormHandler

A FormHandler can be registered with a `Form`, and will then receive all events fired by widgets on the form.

It provides an alternative way of handling events, instead of specifying the eventhandlers in the form definition.

It is useful when you want to write your event-handling code in Java, have all events handled by one class (which could of course again delegate to other classes), and when you want the event handler to have access to objects it would not be able to get access to if they were part of the form definition.

Version:
  $Id: FormHandler.java 587759 2007-10-24 03:00:37Z vgritsenko $

Method Summary
`void` | `handleEvent(WidgetEvent widgetEvent)`

Method Detail

### handleEvent

    public void handleEvent(WidgetEvent widgetEvent)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.