protected AutoHideComponent(V view, M model) {
super(view);
this.model = model;
// Setup the hover controller to handle hover events.
hoverController = new HoverController();
hoverController.addPartner(view.getElement());
hoverController.setUnhoverListener(new UnhoverListener() {
@Override
public void onUnhover() {
if (isShowing()) {