Re: Change Cursor Shape

2010-09-12 Thread udayanga ranasinghe
Thanks it works
:D

On Sun, Sep 12, 2010 at 12:07 AM, Thomas Dvornik amp...@gmail.com wrote:

 Hey Udayanga,

 Add a CSS class

 .hover { cursor:wait }

 Then inside the event handler, you want to set the widget's style.

 widget.setStyleName(hover);

 Hope that helps,

 Tom

 On Sep 11, 4:35 am, udayanga ranasinghe udayanga.u...@gmail.com
 wrote:
  Thanks for replying.
  Can u say how to apply this concept into* GWT.*
  Specially in an event trigger.
 
  Thanks again,
  Udayanga.
 
 
 
 
 
  On Sat, Sep 11, 2010 at 12:34 PM, lineman78 linema...@gmail.com wrote:
   CSS attribute cursor.
 
  http://www.w3schools.com/css/pr_class_cursor.asp
 
   On Sep 10, 11:39 pm, udayanga ranasinghe udayanga.u...@gmail.com
   wrote:
Hi All,
 
Please tell me how to change the cursor shape in MouseMoveEvent
 event.
 
Thanks  Regards.
Udayanga.
 
   --
   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.comgoogle-web-toolkit%2Bunsubs
 cr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
  --
  Thanks and Regards,
  Udayanga Ranasinghe
  BCSc(Hons)
  Senior Software Engineer | Wapice Lanka (Pvt) Ltd

 --
 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.




-- 
Thanks and Regards,
Udayanga Ranasinghe
BCSc(Hons)
Senior Software Engineer | Wapice Lanka (Pvt) Ltd

-- 
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: Change Cursor Shape

2010-09-12 Thread Sorinel C
You register a handler for mouse event and then you do it like here:

http://ui-programming.blogspot.com/2010/01/gwt-how-to-show-wait-cursor-for-long.html

Cheers!

-- 
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: Change Cursor Shape

2010-09-11 Thread lineman78
CSS attribute cursor.

http://www.w3schools.com/css/pr_class_cursor.asp

On Sep 10, 11:39 pm, udayanga ranasinghe udayanga.u...@gmail.com
wrote:
 Hi All,

 Please tell me how to change the cursor shape in MouseMoveEvent event.

 Thanks  Regards.
 Udayanga.

-- 
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: Change Cursor Shape

2010-09-11 Thread udayanga ranasinghe
Thanks for replying.
Can u say how to apply this concept into* GWT.*
Specially in an event trigger.

Thanks again,
Udayanga.

On Sat, Sep 11, 2010 at 12:34 PM, lineman78 linema...@gmail.com wrote:

 CSS attribute cursor.

 http://www.w3schools.com/css/pr_class_cursor.asp

 On Sep 10, 11:39 pm, udayanga ranasinghe udayanga.u...@gmail.com
 wrote:
  Hi All,
 
  Please tell me how to change the cursor shape in MouseMoveEvent event.
 
  Thanks  Regards.
  Udayanga.

 --
 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.




-- 
Thanks and Regards,
Udayanga Ranasinghe
BCSc(Hons)
Senior Software Engineer | Wapice Lanka (Pvt) Ltd

-- 
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: Change Cursor Shape

2010-09-11 Thread Thomas Dvornik
Hey Udayanga,

Add a CSS class

.hover { cursor:wait }

Then inside the event handler, you want to set the widget's style.

widget.setStyleName(hover);

Hope that helps,

Tom

On Sep 11, 4:35 am, udayanga ranasinghe udayanga.u...@gmail.com
wrote:
 Thanks for replying.
 Can u say how to apply this concept into* GWT.*
 Specially in an event trigger.

 Thanks again,
 Udayanga.





 On Sat, Sep 11, 2010 at 12:34 PM, lineman78 linema...@gmail.com wrote:
  CSS attribute cursor.

 http://www.w3schools.com/css/pr_class_cursor.asp

  On Sep 10, 11:39 pm, udayanga ranasinghe udayanga.u...@gmail.com
  wrote:
   Hi All,

   Please tell me how to change the cursor shape in MouseMoveEvent event.

   Thanks  Regards.
   Udayanga.

  --
  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.

 --
 Thanks and Regards,
 Udayanga Ranasinghe
 BCSc(Hons)
 Senior Software Engineer | Wapice Lanka (Pvt) Ltd

-- 
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.



Change Cursor Shape

2010-09-10 Thread udayanga ranasinghe
Hi All,

Please tell me how to change the cursor shape in MouseMoveEvent event.

Thanks  Regards.
Udayanga.

-- 
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.