X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=unused%2Fjavajs%2F_README.txt;fp=unused%2Fjavajs%2F_README.txt;h=0000000000000000000000000000000000000000;hb=4f77328104498504339216829abf5ea87e2791ec;hp=e8c37793ada1331c345c03d1e80f638054fe1d6e;hpb=2b8c0785318a3528e1876e8e2dd48b7d831eae69;p=jalview.git diff --git a/unused/javajs/_README.txt b/unused/javajs/_README.txt deleted file mode 100644 index e8c3779..0000000 --- a/unused/javajs/_README.txt +++ /dev/null @@ -1,38 +0,0 @@ -The javajs directory contains a variety of Java files that you are -encouraged to use in your project. It is self-contained, and the -classes and methods all work in Java as well as JavaScript. - -These classes perform functions not standard in Java or provide -classes that are particularly optimized for JavaScript (fewer overloaded -methods, especially). - --- creating (minimal) PDF files --- decoding and encoding image files --- working with binary, compound document, JSON, and zip data --- providing very efficient classes for vectors, matricies, and quaternions --- providing a java.lang.Thread subclass (JSThread) that can be used - wherever a thread is necessary; note that JSThread cannot sleep(), but - it provides a means of managing setTimeout callbacks that is very easy - to implement. --- providing two very important annotations: - - @J2SIgnoreImport Indicates that this class will never be used in JavaScript - and thus does not need to be indicated as a dependency. In - some cases, this annotation is necessary just to break a - cyclical dependency that Java somehow handles, but J2S does not. - - @J2SRequireImport Allows a SwingJS developer to work around J2S transpiler - issues that for some reason it is not indicating the need for - a dependent class. Typically this is because a static call - to a static method in a class. - - In addition, though, @J2SRequireImport can be used to "inject" - JavaScript at a specific point in code loading. For example, - swingjs.plaf.JSSlider uses the following annotation to load - jQueryUI, fooling J2S to think that it is a "class" file. - - @J2SRequireImport(swingjs.jquery.JQueryUI.class) - - -All files in the javajs/util directory will be moved to j2s/JU by a build script. -