From: Manuel Carrasco MoƱino Date: Mon, 10 Dec 2012 09:37:31 +0000 (+0100) Subject: javadoc for method Properties.set(T, Function). Related with issue 154 X-Git-Tag: release-1.3.2~28 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=901c8420e18e5ca971f4a208a91204d4934eaa9f;p=gwtquery.git javadoc for method Properties.set(T, Function). Related with issue 154 --- 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);