X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=src%2Fjavajs%2Fapi%2FJSInterface.java;fp=src%2Fjavajs%2Fapi%2FJSInterface.java;h=0f785fa799565f96d9797beefe61f9affff90be1;hp=7ee98c98023d413dc7e5f29a9e35759a0fe57219;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/src/javajs/api/JSInterface.java b/src/javajs/api/JSInterface.java index 7ee98c9..0f785fa 100644 --- a/src/javajs/api/JSInterface.java +++ b/src/javajs/api/JSInterface.java @@ -1,30 +1,30 @@ -package javajs.api; - -/** - * called by JSmol JavaScript methods using - * - * this._applet.xxxx() - * - */ -public interface JSInterface { - - int cacheFileByName(String fileName, boolean isAdd); - void cachePut(String key, Object data); - void destroy(); - String getFullName(); - void openFileAsyncSpecial(String fileName, int flags); - boolean processMouseEvent(int id, int x, int y, int modifiers, long time); - void processTwoPointGesture(float[][][] touches); - void setDisplay(Object canvas); - void setScreenDimension(int width, int height); - boolean setStatusDragDropped(int mode, int x, int y, String fileName); - void startHoverWatcher(boolean enable); - void update(); - - // these are not general methods -//Object getGLmolView(); -//String loadInlineString(String mol, String script, boolean isAppend); -//String openFile(String fileName); - -} - +package javajs.api; + +/** + * called by JSmol JavaScript methods using + * + * this._applet.xxxx() + * + */ +public interface JSInterface { + + int cacheFileByName(String fileName, boolean isAdd); + void cachePut(String key, Object data); + void destroy(); + String getFullName(); + void openFileAsyncSpecial(String fileName, int flags); + boolean processMouseEvent(int id, int x, int y, int modifiers, long time); + void processTwoPointGesture(float[][][] touches); + void setDisplay(Object canvas); + void setScreenDimension(int width, int height); + boolean setStatusDragDropped(int mode, int x, int y, String fileName); + void startHoverWatcher(boolean enable); + void update(); + + // these are not general methods +//Object getGLmolView(); +//String loadInlineString(String mol, String script, boolean isAppend); +//String openFile(String fileName); + +} +