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