JAL-1807 Bob's first commit -- Applet loaded; needs image
[jalview.git] / src / javajs / api / JmolObjectInterface.java
diff --git a/src/javajs/api/JmolObjectInterface.java b/src/javajs/api/JmolObjectInterface.java
new file mode 100644 (file)
index 0000000..e1872ee
--- /dev/null
@@ -0,0 +1,12 @@
+package javajs.api;
+
+/**
+ * methods in JSmol JavaScript accessed in Jmol 
+ */
+public interface JmolObjectInterface {
+
+  Object _doAjax(Object url, String postOut, Object bytesOrStringOut);
+
+  void _apply(Object func, Object data);
+
+}