1 package swingjs.api.js;
4 * called by SwingJS JavaScript methods
7 public interface JSInterface {
9 int cacheFileByName(String fileName, boolean isAdd); // $S$Z
11 void cachePut(String key, Object data); // $S$O
17 void openFileAsyncSpecial(String fileName, int flags); // $S$I
19 boolean processMouseEvent(int id, int x, int y, int modifiers, long time, Object jqevent, int scroll); // $I$I$I$I$J$O$I
21 void processTwoPointGesture(float[][][] touches); // AFFF
23 void setDisplay(HTML5Canvas canvas);
25 void setScreenDimension(int width, int height);
27 boolean setStatusDragDropped(int mode, int x, int y, String fileName);
29 void startHoverWatcher(boolean enable);
31 static void setCursor(String c) {
37 * document.body.style.cursor = c;