org.apache.wicket.behavior
Interface IBehaviorListener

All Superinterfaces:
IClusterable, IRequestListener, java.io.Serializable
All Known Subinterfaces:
IActivePageBehaviorListener
All Known Implementing Classes:
AbstractAjaxBehavior, AbstractAjaxTimerBehavior, AbstractAutoCompleteBehavior, AbstractDefaultAjaxBehavior, AjaxEditableLabel.EditorAjaxBehavior, AjaxEditableLabel.LabelAjaxBehavior, AjaxEventBehavior, AjaxFormChoiceComponentUpdatingBehavior, AjaxFormComponentUpdatingBehavior, AjaxFormSubmitBehavior, AjaxFormValidatingBehavior, AjaxPagingNavigationBehavior, AjaxSelfUpdatingTimerBehavior, AutoCompleteBehavior, OnChangeAjaxBehavior

public interface IBehaviorListener
extends IRequestListener

Listens for requests to behaviors. When IBehaviors 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.

Author:
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

INTERFACE

static final RequestListenerInterface INTERFACE
Behavior listener interface

Method Detail

onRequest

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



Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.