@Override
    public void onBrowserEvent(final Event event) {
        switch (DOM.eventGetType(event)) {
            case Event.ONDBLCLICK:
            case Event.ONFOCUS:
            case Event.ONCLICK:
                if (!isEnabled()) {
                    return;
                }
                break;
        }
        super.onBrowserEvent(event);
    }
@ Override public void onBrowserEvent ( final Event event ) { switch ( DOM . eventGetType ( event ) ) { case Event . ONDBLCLICK : case Event . ONFOCUS : case Event . ONCLICK : if ( ! isEnabled ( ) ) { return ; } break ; } super . onBrowserEvent ( event ) ; }
We override this because the <a></a> tag doesn't support the disabled property. So on clicks and focus, if disabled then ignore

@param event dom event