Listener

Hey,

I’m new here. I want to observe and fire events when i change some properties of an object, where can i find it?

Thanks! :slight_smile:

HI, and welcome!

You wanna observe any plain Java object or some Vaadin component specifically?

For plain Java objects, any available library should work fine, just pick the one you want and use that together with Vaadin. As Vaadin components are mostly plain Java objects also, they might also work to some extent.

But for something built-in, take a look at the reference manual:
https://vaadin.com/book/vaadin7/-/page/components.interfaces.html
(at the bottom of that page).

There are lots of other events to listen than ValueChangeEvents, but I hope that can get you started.


tutorial
And if you haven’t already, do check out the for a quick look how data binding is done.