]> source.dussan.org Git - gwtquery.git/commitdiff
javadoc for method Properties.set(T, Function). Related with issue 154
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Mon, 10 Dec 2012 09:37:31 +0000 (10:37 +0100)
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Mon, 10 Dec 2012 09:37:31 +0000 (10:37 +0100)
gwtquery-core/src/main/java/com/google/gwt/query/client/Properties.java

index 4a2597a96aeb36af1d440787337e427c03b3eef0..cc8d6b3f04ad1a3baf715b3ec9fd5c1e2817f2c4 100644 (file)
@@ -156,6 +156,13 @@ public class Properties extends JavaScriptObject {
     c().putBoolean(name, val);
   }
 
+  /**
+   * Adds a new native js function to the properties object.
+   * This native function will wrap the passed java Function.
+   * 
+   * Its useful for exporting or importing to javascript.
+   * 
+   */
   public final native <T> void setFunction(T name, Function f) /*-{
     this[name] = function() {
       f.@com.google.gwt.query.client.Function::fe(Ljava/lang/Object;)(arguments);