Package org.apache.wicket
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
,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
,ModalWindow.CloseButtonBehavior
,NodeBorder
,OnChangeAjaxBehavior
,PropertyValidator
,RangeValidator
,StringValidator
,StyleAttributeModifier
,TrapFocusBehavior
,ValidatorAdapter
,VelocityContributor
,VelocityJavaScriptContributor
,WebSocketBehavior
,WicketMessageTagHandler.AttributeLocalizer
,WindowsTheme
,XsltTransformerBehavior
public interface IComponentAwareEventSink
A specialization ofIEventSink
that 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 exampleBehavior
s- Author:
- igor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onEvent(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 aBehavior
then component parameter will contain the component to which the behavior is attached.event
-
-
-