Commit acfa7ee
J2SObjectInterface adds functions for JSmol
Object doAjax(Object url, String postOut, Object bytesOrStringOut,
boolean isBinary);
Object newGrayScaleImage(Object context, Object image, int width, int
height, int[] grayBuffer);
void showInfo(JSAppletObject html5Applet, boolean show);
void clearConsole(JSAppletObject html5Applet);
boolean isBinaryUrl(String filename);
void saveImage(JSAppletObject html5Applet, String type, String
fileName);
void repaint(JSAppletObject html5Applet, boolean asNewThread);
void setCanvasImage(Object canvas, int width, int height);
Object getHiddenCanvas(JSAppletObject html5Applet, String string, int
w, int h);
Object loadFileAsynchronously(Object fileLoadThread, JSAppletObject
html5Applet, String fileName, Object appData);
void resizeApplet(Object html5Applet, int[] dims);1 parent 48b3f9f commit acfa7ee
File tree
1 file changed
+23
-1
lines changed- sources/net.sf.j2s.java.core/src/javajs/api/js
1 file changed
+23
-1
lines changedLines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
12 | 34 | | |
0 commit comments