Package org.apache.wicket.event
Interface IEventSource
-
- All Known Implementing Classes:
AbstractCheckSelector,AbstractChoice,AbstractErrorPage,AbstractItem,AbstractLink,AbstractOutputTransformerContainer,AbstractPageableView,AbstractRepeater,AbstractSingleSelectChoice,AbstractSubmitLink,AbstractTextComponent,AccessDeniedPage,AjaxButton,AjaxCheckBox,AjaxFallbackButton,AjaxFallbackLink,AjaxLink,AjaxPagingNavigation,AjaxPagingNavigationIncrementLink,AjaxPagingNavigationLink,AjaxPagingNavigator,AjaxSubmitLink,Audio,AutoLabelResolver.AutoLabel,AutoLinkResolver.AutolinkBookmarkablePageLink,BaseWicketTester.StartComponentInPage,Body,BookmarkablePageLink,Border,Border.BorderBodyContainer,BorderPanel,BrowserInfoForm,BrowserInfoPage,Button,Check,CheckBox,CheckBoxMultipleChoice,CheckboxMultipleChoiceSelector,CheckBoxSelector,CheckGroup,CheckGroupSelector,ClientSideImageMap,Component,ComponentFeedbackPanel,ContextImage,DataView,DataViewBase,DownloadLink,DropDownChoice,DummyHomePage,DummyHomePage.TestLink,DummyPanelPage,EmailTextField,EmptyPanel,Enclosure,EnclosureContainer,EnumLabel,ExceptionErrorPage,ExternalImage,ExternalLink,ExternalSource,FeedbackPanel,FencedFeedbackPanel,FileUploadField,Form,FormComponent,FormComponentFeedbackBorder,FormComponentFeedbackIndicator,FormComponentLabel,FormComponentPanel,Fragment,GenericPanel,GenericWebMarkupContainer,GenericWebPage,GridView,HeaderPartContainer,HeaderResponseContainer,HiddenField,HtmlHeaderContainer,HtmlHeaderItemsContainer,Image,ImageButton,Include,InlineEnclosure,InlineFrame,InlineImage,InternalErrorPage,Item,Label,LabeledWebMarkupContainer,Link,ListChoice,ListItem,ListMultipleChoice,ListView,Loop,LoopItem,MarkupContainer,MediaComponent,MockHomePage,MultiFileUploadField,MultiLineLabel,NonCachingImage,NoopOutputTransformerContainer,NumberTextField,OddEvenItem,OddEvenListItem,Page,PageableListView,PageExpiredErrorPage,PageView,PagingNavigation,PagingNavigationIncrementLink,PagingNavigationLink,PagingNavigator,Panel,PasswordTextField,Picture,PopupCloseLink,PopupCloseLink.ClosePopupPage,PropertyListView,Radio,RadioChoice,RadioGroup,RangeTextField,RedirectPage,RefreshingView,RepeatingView,RequiredTextField,ResourceLink,SimpleFormComponentLabel,Source,Source,StatelessForm,StatelessLink,SubmitLink,TextArea,TextField,Track,TransparentWebMarkupContainer,UrlTextField,Video,WebComponent,WebMarkupContainer,WebPage,XsltOutputTransformerContainer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IEventSourceObjects that can send events- Author:
- Igor Vaynberg (ivaynberg)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> voidsend(IEventSink sink, Broadcast broadcast, T payload)Sends an event
-
-
-
Method Detail
-
send
<T> void send(IEventSink sink, Broadcast broadcast, T payload)
Sends an event- Type Parameters:
T- type of payload- Parameters:
sink- object that will receive the eventbroadcast- if the object that receives the event needs to broadcast it to others, this is the type of broadcast that should be usedpayload- event payload
-
-