Re: UiBinder - Add Mouse Handler to Panel or Grid

2010-10-12 Thread spierce7
Thanks a lot! This worked. I really appreciate this!

On Oct 10, 6:31 pm, Gal Dolber gal.dol...@gmail.com wrote:
 You can use a FocusPanel or extend any panel and implement the mouse events
 on it 
 (http://code.google.com/p/google-web-toolkit-incubator/wiki/GwtEventSy...
 help)

 Best





 On Sun, Oct 10, 2010 at 5:00 PM, spierce7 spier...@gmail.com wrote:
  I can't find a way to add a Mouse Handler to a GWT Panel or a Grid
  while using UiBinder.

  I basically need a way that I can detect the following over a Grid:
  1. Detect what cell the event is happening in.
  2. Detect Mouse Up Event
  3. Detect Mouse Down Event
  4. Detect Mouse Out Event
  5. Detect Mouse Over Event

  I had planned to try and do this with the absolute panel overlayed on
  top of the Grid. I could detect these events on the AbsolutePanel,
  then based off of the location of the event, determine what cell the
  event would have taken place in had the AbsolutePanel not have been
  overlayed on top of the Grid, and then act accordingly. I now find out
  that the exact same restrictions are placed upon the panels in terms
  of click handlers, and don't have many options.

  I just need to find a way to get the above events to work on the Grid.
  What would you recommend? Not using UiBinder, I was using DomHandlers,
  which seam to be disabled in UiBinder (am I wrong?).

  Any help is VERY appreciated. Thanks!

  ~Scott

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Guit: Elegant, beautiful, modular and *production ready* gwt applications.

 http://code.google.com/p/guit/

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



UiBinder - Add Mouse Handler to Panel or Grid

2010-10-10 Thread spierce7
I can't find a way to add a Mouse Handler to a GWT Panel or a Grid
while using UiBinder.

I basically need a way that I can detect the following over a Grid:
1. Detect what cell the event is happening in.
2. Detect Mouse Up Event
3. Detect Mouse Down Event
4. Detect Mouse Out Event
5. Detect Mouse Over Event

I had planned to try and do this with the absolute panel overlayed on
top of the Grid. I could detect these events on the AbsolutePanel,
then based off of the location of the event, determine what cell the
event would have taken place in had the AbsolutePanel not have been
overlayed on top of the Grid, and then act accordingly. I now find out
that the exact same restrictions are placed upon the panels in terms
of click handlers, and don't have many options.

I just need to find a way to get the above events to work on the Grid.
What would you recommend? Not using UiBinder, I was using DomHandlers,
which seam to be disabled in UiBinder (am I wrong?).

Any help is VERY appreciated. Thanks!

~Scott

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



Re: UiBinder - Add Mouse Handler to Panel or Grid

2010-10-10 Thread Gal Dolber
You can use a FocusPanel or extend any panel and implement the mouse events
on it (
http://code.google.com/p/google-web-toolkit-incubator/wiki/GwtEventSystemwill
help)

Best

On Sun, Oct 10, 2010 at 5:00 PM, spierce7 spier...@gmail.com wrote:

 I can't find a way to add a Mouse Handler to a GWT Panel or a Grid
 while using UiBinder.

 I basically need a way that I can detect the following over a Grid:
 1. Detect what cell the event is happening in.
 2. Detect Mouse Up Event
 3. Detect Mouse Down Event
 4. Detect Mouse Out Event
 5. Detect Mouse Over Event

 I had planned to try and do this with the absolute panel overlayed on
 top of the Grid. I could detect these events on the AbsolutePanel,
 then based off of the location of the event, determine what cell the
 event would have taken place in had the AbsolutePanel not have been
 overlayed on top of the Grid, and then act accordingly. I now find out
 that the exact same restrictions are placed upon the panels in terms
 of click handlers, and don't have many options.

 I just need to find a way to get the above events to work on the Grid.
 What would you recommend? Not using UiBinder, I was using DomHandlers,
 which seam to be disabled in UiBinder (am I wrong?).

 Any help is VERY appreciated. Thanks!

 ~Scott

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

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