Custom Events and EventListeners

I came to a point where I want to fire custom Events and register custom EventListeners. Is there a vaadin way of doing this?


I assume you talk about server side events? Just go ahead with standard Event handling. A good idea is to extend com.vaadin.ui.Component.Event . This way you may easily access a possible source component.

You can always create your own Event and Listener classes, and create an addListener(MyListener) method to you own components (or extensions of components). I have done this for example in my PagedTable add-on which fires an event when the page of the table is changed. You can take example from that from the

Thank you, the hint with your Page Table solved my problem.