function reference

2009-06-09 Thread kevin.d...@googlemail.com

hello,

I search a solution for save a function/method reference for a later
callback?

par example in javascript:

var method = methodname;
method.call (); // callback

in pure java I use thejava.lang.reflect.Method class.

how can I realize this in GWT?

greets
Kevin

--~--~-~--~~~---~--~~
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.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: function reference

2009-06-09 Thread Paul Grenyer
Looks like an ideal place for an interface to me.

Sent from my Archimedes A3000

-Original Message-
From: kevin.d...@googlemail.com kevin.d...@googlemail.com

Date: Tue, 9 Jun 2009 12:46:52 
To: Google Web ToolkitGoogle-Web-Toolkit@googlegroups.com
Subject: function reference



hello,

I search a solution for save a function/method reference for a later
callback?

par example in javascript:

var method = methodname;
method.call (); // callback

in pure java I use thejava.lang.reflect.Method class.

how can I realize this in GWT?

greets
Kevin



--~--~-~--~~~---~--~~
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.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: function reference

2009-06-09 Thread kevin.d...@googlemail.com

hello,

thanks for your answer, but I search a dynamic solutions for safe
produce boiler code for listener (new AsyncCallback ..)

On 9 Jun., 22:45, Paul Grenyer paul.gren...@gmail.com wrote:
 Looks like an ideal place for an interface to me.

 Sent from my Archimedes A3000



 -Original Message-
 From: kevin.d...@googlemail.com kevin.d...@googlemail.com

 Date: Tue, 9 Jun 2009 12:46:52
 To: Google Web ToolkitGoogle-Web-Toolkit@googlegroups.com
 Subject: function reference

 hello,

 I search a solution for save a function/method reference for a later
 callback?

 par example in javascript:

 var method = methodname;
 method.call (); // callback

 in pure java I use thejava.lang.reflect.Method class.

 how can I realize this in GWT?

 greets
 Kevin
--~--~-~--~~~---~--~~
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.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---