Interface IComponentAwareEventSink

All Known Implementing Classes:
AbstractAjaxBehavior, AbstractAjaxTimerBehavior, AbstractDefaultAjaxBehavior, AbstractFormValidator, AbstractRangeValidator, AbstractTransformerBehavior, AjaxClientInfoBehavior, AjaxEventBehavior, AjaxFormChoiceComponentUpdatingBehavior, AjaxFormComponentUpdatingBehavior, AjaxFormSubmitBehavior, AjaxFormValidatingBehavior, AjaxNewWindowNotifyingBehavior, AjaxOnDomReadyClientInfoBehavior, AjaxPagingNavigationBehavior, AjaxPreventSubmitBehavior, AjaxSelfUpdatingTimerBehavior, AttributeAppender, AttributeModifier, Behavior, BorderBehavior, ClassAttributeModifier, CompoundValidator, ContextPathGenerator, DateValidator, DisabledAttributeLinkBehavior, EqualInputValidator, EqualPasswordInputValidator, FilesSelectedBehavior, FormComponentUpdatingBehavior, FormValidatorAdapter, HTML5Attributes, OnChangeAjaxBehavior, OutputMarkupContainerClassNameBehavior, RangeValidator, StringValidator, StyleAttributeModifier, ValidatorAdapter, WicketMessageTagHandler.AttributeLocalizer, 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 -