summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/JavaScriptCallback.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/ui/JavaScriptCallback.java')
-rw-r--r--src/com/vaadin/ui/JavaScriptCallback.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/JavaScriptCallback.java b/src/com/vaadin/ui/JavaScriptCallback.java
new file mode 100644
index 0000000000..e6b16010e4
--- /dev/null
+++ b/src/com/vaadin/ui/JavaScriptCallback.java
@@ -0,0 +1,14 @@
+/*
+@VaadinApache2LicenseForJavaFiles@
+ */
+
+package com.vaadin.ui;
+
+import java.io.Serializable;
+
+import com.vaadin.external.json.JSONArray;
+import com.vaadin.external.json.JSONException;
+
+public interface JavaScriptCallback extends Serializable {
+ public void call(JSONArray arguments) throws JSONException;
+}