Firing native events in GWT?!

2010-08-03 Thread Blaze
Hi all,

I have one question...how can we fire a native event in gwt...??
by native event I think on let me say..keyboard key pressed...etc

Tnx,

-- 
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: Firing native events in GWT?!

2010-08-03 Thread Rob Coops
No idea if it is the right thing to do but you could just call the
onKeyPressed method of the widget in quesion can't you?

On Tue, Aug 3, 2010 at 11:40 AM, Blaze baze...@gmail.com wrote:

 Hi all,

 I have one question...how can we fire a native event in gwt...??
 by native event I think on let me say..keyboard key pressed...etc

 Tnx,

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



-- 
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: Firing native events in GWT?!

2010-08-03 Thread Rob Coops
Ah, ok fair enough apperantly (google search helps a lot :) you should be
able to use:

DomEvent.fireEvent(Document.get().createXXXEvent, handlerSource);



On Tue, Aug 3, 2010 at 11:52 AM, Blagoja Chavkoski baze...@gmail.comwrote:

 Hi,
 first tnx for the rpl..

 yes thats ok...also would be ok to fire onNativeEvent in widget
 method...but I have more components(widgets) related to that event..and i
 dont like to keep instance of all of them and fire the event one by
 one...for each...
 In gwt 1.6 there ware metods in Document.firexxxnativeEvent...but after 2.0
 there not inside...and i dont no how can be done...

 On Tue, Aug 3, 2010 at 11:45 AM, Rob Coops rco...@gmail.com wrote:

 No idea if it is the right thing to do but you could just call the
 onKeyPressed method of the widget in quesion can't you?

 On Tue, Aug 3, 2010 at 11:40 AM, Blaze baze...@gmail.com wrote:

 Hi all,

 I have one question...how can we fire a native event in gwt...??
 by native event I think on let me say..keyboard key pressed...etc

 Tnx,

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


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


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


-- 
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: Firing native events in GWT?!

2010-08-03 Thread Blagoja Chavkoski
Hmm..this I didnt think about:).. it might work...
tnx..have to try it..:)

On Tue, Aug 3, 2010 at 11:58 AM, Rob Coops rco...@gmail.com wrote:

 Ah, ok fair enough apperantly (google search helps a lot :) you should be
 able to use:

 DomEvent.fireEvent(Document.get().createXXXEvent, handlerSource);



 On Tue, Aug 3, 2010 at 11:52 AM, Blagoja Chavkoski baze...@gmail.comwrote:

 Hi,
 first tnx for the rpl..

 yes thats ok...also would be ok to fire onNativeEvent in widget
 method...but I have more components(widgets) related to that event..and i
 dont like to keep instance of all of them and fire the event one by
 one...for each...
 In gwt 1.6 there ware metods in Document.firexxxnativeEvent...but after
 2.0 there not inside...and i dont no how can be done...

 On Tue, Aug 3, 2010 at 11:45 AM, Rob Coops rco...@gmail.com wrote:

 No idea if it is the right thing to do but you could just call the
 onKeyPressed method of the widget in quesion can't you?

 On Tue, Aug 3, 2010 at 11:40 AM, Blaze baze...@gmail.com wrote:

 Hi all,

 I have one question...how can we fire a native event in gwt...??
 by native event I think on let me say..keyboard key pressed...etc

 Tnx,

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


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


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


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


-- 
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: Firing native events in GWT?!

2010-08-03 Thread Fernando Barbat
I don't have the answer to your question but maybe this could help:
http://code.google.com/p/google-web-toolkit-incubator/wiki/GwtEventSystem

On 3 ago, 06:40, Blaze baze...@gmail.com wrote:
 Hi all,

 I have one question...how can we fire a native event in gwt...??
 by native event I think on let me say..keyboard key pressed...etc

 Tnx,

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