From 901c8420e18e5ca971f4a208a91204d4934eaa9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Mon, 10 Dec 2012 10:37:31 +0100 Subject: [PATCH] javadoc for method Properties.set(T, Function). Related with issue 154 --- .../main/java/com/google/gwt/query/client/Properties.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/Properties.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/Properties.java index 4a2597a9..cc8d6b3f 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/Properties.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/Properties.java @@ -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 void setFunction(T name, Function f) /*-{ this[name] = function() { f.@com.google.gwt.query.client.Function::fe(Ljava/lang/Object;)(arguments); -- 2.39.5