How to extract more information from ClickEvent?

I would like to add more information to the ClickEvent.
In documentation i saw DomListenerRegistration.addEventData

Currently i am able to achieve this by creating Class MyButtoj which have separate listener which returns event.timeStamp from click event.

But is it possible to achieve this by adding this event information to already built in ClickEvent ?

DOM listeners are at the different level of abstraction than normal listeners. So if your MyButton extends from Button and you’d like to extend that event, it will be hard or impossible. If you want to have just one listener, probably better to extend from Component directly. You could still use the vaadin-button web component on the client side.