4 * called by JSmol JavaScript methods using
9 public interface JSInterface {
11 int cacheFileByName(String fileName, boolean isAdd);
13 void cachePut(String key, Object data);
19 void openFileAsyncSpecial(String fileName, int flags);
21 boolean processMouseEvent(int id, int x, int y, int modifiers, long time);
23 void processTwoPointGesture(float[][][] touches);
25 void setDisplay(Object canvas);
27 void setScreenDimension(int width, int height);
29 boolean setStatusDragDropped(int mode, int x, int y, String fileName);
31 void startHoverWatcher(boolean enable);
35 // these are not general methods
36 // Object getGLmolView();
37 // String loadInlineString(String mol, String script, boolean isAppend);
38 // String openFile(String fileName);