Package org.apache.wicket
Interface IComponentAwareEventSink
-
- All Known Implementing Classes:
AbstractAjaxBehavior,AbstractAjaxTimerBehavior,AbstractDefaultAjaxBehavior,AbstractFormValidator,AbstractRangeValidator,AbstractTransformerBehavior,AjaxClientInfoBehavior,AjaxEventBehavior,AjaxFormChoiceComponentUpdatingBehavior,AjaxFormComponentUpdatingBehavior,AjaxFormSubmitBehavior,AjaxFormValidatingBehavior,AjaxNewWindowNotifyingBehavior,AjaxPagingNavigationBehavior,AjaxPreventSubmitBehavior,AjaxSelfUpdatingTimerBehavior,AttributeAppender,AttributeModifier,Behavior,BorderBehavior,ClassAttributeModifier,CompoundValidator,ContextPathGenerator,DateValidator,DisabledAttributeLinkBehavior,EqualInputValidator,EqualPasswordInputValidator,FormComponentUpdatingBehavior,FormValidatorAdapter,HTML5Attributes,OnChangeAjaxBehavior,RangeValidator,StringValidator,StyleAttributeModifier,ValidatorAdapter,WicketMessageTagHandler.AttributeLocalizer,XsltTransformerBehavior
public interface IComponentAwareEventSinkA specialization ofIEventSinkthat adds component as an additional parameter to theonEvent(Component, IEvent)method. This interface is useful for component plugins which wish to participate in event processing, for exampleBehaviors- Author:
- igor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonEvent(Component component, IEvent<?> event)Called when an event is sent to this behavior sink
-
-
-
Method Detail
-
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 aBehaviorthen component parameter will contain the component to which the behavior is attached.event-
-
-