Capture Key press events on tokenfield addon in vaadin

How do I capture key press events like Enter key, Tab key, etc on TokenField addon in vaadin…?