Instead of trying to block the event, why not just eat it. In your
widget, on the click event, check the state of the widget. If the
state is enable, only then fire the click event to any registered
listeners.

HTH,
Chad

On Sep 6, 10:06 am, ulgerang <[email protected]> wrote:
> Hi,
>
> I am making 'ImageButton' that extends 'Image' and implemented
> 'HasEnabled' interface.
> I made 3 state, disable,mouseover, enable.
> When I was making disable,  I have to block the click event  from the
> widget.
> but  I couldn't find the way.
>
> Is there any way to block the click event?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to