Interface IComponentAwareEventSink

All Known Implementing Classes:
AbstractAjaxBehavior, AbstractAjaxTimerBehavior, AbstractAutoCompleteBehavior, AbstractDefaultAjaxBehavior, AbstractFormValidator, AbstractRangeValidator, AbstractTransformerBehavior, AjaxClientInfoBehavior, AjaxDownloadBehavior, AjaxEditableLabel.EditorAjaxBehavior, AjaxEditableLabel.LabelAjaxBehavior, AjaxEventBehavior, AjaxFileDropBehavior, AjaxFormChoiceComponentUpdatingBehavior, AjaxFormComponentUpdatingBehavior, AjaxFormSubmitBehavior, AjaxFormValidatingBehavior, AjaxIndicatorAppender, AjaxLazyLoadPanel.AjaxLazyLoadTimer, AjaxNewWindowNotifyingBehavior, AjaxOnDomReadyClientInfoBehavior, AjaxPagingNavigationBehavior, AjaxPreventSubmitBehavior, AjaxSelfUpdatingTimerBehavior, AttributeAppender, AttributeModifier, AutoCompleteBehavior, BaseWebSocketBehavior, Behavior, BorderBehavior, ClassAttributeModifier, CompoundValidator, ContextPathGenerator, DateValidator, DefaultTheme, DefaultTheme, DisabledAttributeLinkBehavior, EqualInputValidator, EqualPasswordInputValidator, FilesSelectedBehavior, FormComponentUpdatingBehavior, FormValidatorAdapter, HTML5Attributes, HumanTheme, NodeBorder, OnChangeAjaxBehavior, OutputMarkupContainerClassNameBehavior, PropertyValidator, RangeValidator, StringValidator, StyleAttributeModifier, TrapFocusBehavior, ValidatorAdapter, VelocityContributor, VelocityJavaScriptContributor, WebSocketBehavior, WicketMessageTagHandler.AttributeLocalizer, WindowsTheme, XsltTransformerBehavior

public interface IComponentAwareEventSink
A specialization of IEventSink that adds component as an additional parameter to the onEvent(Component, IEvent) method. This interface is useful for component plugins which wish to participate in event processing, for example Behaviors
Author:
igor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(Component component, IEvent<?> event)
    Called when an event is sent to this behavior sink
  • Method Details

    • 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 -