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
Class AbstractFormHandler

    java.lang.Object
      org.apache.cocoon.forms.event.AbstractFormHandler

All Implemented Interfaces:
  FormHandler

public abstract class AbstractFormHandler
extends Object
implements FormHandler

Abstract implementation of `FormHandler`, which checks the type of the WidgetEvent and calls the more specific `handleActionEvent(ActionEvent)` or `handleValueChangedEvent(ValueChangedEvent)` methods.

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

Constructor Summary
`AbstractFormHandler()`

Method Summary
`abstract void` | `handleActionEvent(ActionEvent actionEvent)` Called when an ActionEvent occured.
`void` | `handleEvent(WidgetEvent widgetEvent)`
`abstract void` | `handleValueChangedEvent(ValueChangedEvent valueChangedEvent)` Called when an ValueChangedEvent occured.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AbstractFormHandler

    public AbstractFormHandler()

Method Detail

### handleEvent

    public void handleEvent(WidgetEvent widgetEvent)

  Specified by:
    `handleEvent` in interface `FormHandler`

### handleActionEvent

    public abstract void handleActionEvent(ActionEvent actionEvent)

  Called when an ActionEvent occured.

### handleValueChangedEvent

    public abstract void handleValueChangedEvent(ValueChangedEvent valueChangedEvent)

  Called when an ValueChangedEvent occured.

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.