Adding MouseListener (onMouseEnter, onMouseLeave) to an HorizontalLayout

Hi all, I am a new vaadin user. I would like to add Mouse Listener to an HorizontalLayout. So I would like to do some actions when mouse is entred to the layout and when it exits.

HorizontalLayout h = new HorizontalLayout();

h.addMouseListener(new MouseListener() {

public void onMouseEnter(Event e) {
//do some actions here
}

public void onMousLeave(Event e) {
//do some actions here
}

});

Is it possible to do that with implementing a new widget and using gwt MouseListener???

Thanks