org.apache.wicket
Interface IComponentAwareEventSink
- All Known Implementing Classes:
- AbstractAjaxBehavior, AbstractAjaxTimerBehavior, AbstractAutoCompleteBehavior, AbstractDefaultAjaxBehavior, AbstractFormValidator, AbstractRangeValidator, AbstractTransformerBehavior, AbstractValidator, AjaxEditableLabel.EditorAjaxBehavior, AjaxEditableLabel.LabelAjaxBehavior, AjaxEventBehavior, AjaxFormChoiceComponentUpdatingBehavior, AjaxFormComponentUpdatingBehavior, AjaxFormSubmitBehavior, AjaxFormValidatingBehavior, AjaxIndicatorAppender, AjaxPagingNavigationBehavior, AjaxSelfUpdatingTimerBehavior, AttributeAppender, AttributeModifier, AutoCompleteBehavior, BeforeAndAfterBorder, Behavior, BorderBehavior, CompoundValidator, ContextPathGenerator, DatePicker, DateValidator, EqualInputValidator, EqualPasswordInputValidator, FormValidatorAdapter, HumanTheme, MarkupComponentBorder, ModalWindow.CloseButtonBehavior, NodeBorder, OnChangeAjaxBehavior, OrderByLink.CssModifier, RangeValidator, StringValidator, ValidatorAdapter, VelocityContributor, VelocityJavaScriptContributor, WicketMessageTagHandler.AttributeLocalizer, WindowsTheme, XsltTransformerBehavior
public interface IComponentAwareEventSink
A specialization of IEventSink
that adds component as an additional parameter to the
#onEvent(IEvent, Component)
method. This interface is useful for component plugins which
wish to participate in event processing, for example Behavior
s
- Author:
- igor
Method Summary |
void |
onEvent(Component component,
IEvent<?> event)
Called when an event is sent to this behavior sink |
onEvent
void onEvent(Component component,
IEvent<?> event)
- Called when an event is sent to this behavior sink
- Parameters:
component
- component that owns this sink. For example, if the implementation of this
interface is a Behavior
then component parameter will contain the
component to which the behavior is attached.event
-
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.