Interface IBehaviorListener

All Superinterfaces:
IClusterable, IRequestListener,
All Known Implementing Classes:
AbstractAjaxBehavior, AbstractAjaxTimerBehavior, AbstractAutoCompleteBehavior, AbstractDefaultAjaxBehavior, AjaxEditableLabel.EditorAjaxBehavior, AjaxEditableLabel.LabelAjaxBehavior, AjaxEventBehavior, AjaxFormChoiceComponentUpdatingBehavior, AjaxFormComponentUpdatingBehavior, AjaxFormSubmitBehavior, AjaxFormValidatingBehavior, AjaxPagingNavigationBehavior, AjaxSelfUpdatingTimerBehavior, AutoCompleteBehavior, ModalWindow.CloseButtonBehavior, OnChangeAjaxBehavior

public interface IBehaviorListener
extends IRequestListener

Listens for requests to behaviors. When Behaviors are 'enriched' with this interface, they can receive requests themselves. You can use this for example to implement AJAX behavior, though you'll probably want to extend from AbstractAjaxBehavior directly instead in that case.

Eelco Hillenius

Field Summary
static RequestListenerInterface INTERFACE
          Behavior listener interface
Method Summary
 void onRequest()
          Called when a request to a behavior is received.

Field Detail


static final RequestListenerInterface INTERFACE
Behavior listener interface

Method Detail


void onRequest()
Called when a request to a behavior is received.

Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.