From: Alan W. Irwin <irwin@be...> - 2004-02-15 23:25:12
Thanks to a swig example I found, I finally figured out how to implement
plgdev, plgfnam, and plgver from the Java interface to complete the Java
interface to our common API. Because of these additions to the Java
interface, x01.java now outputs a Library version string, and x14.java
handles the device drivers for the two streams identically to the way the
corresponding examples are done for the other language interfaces.
There are still some limitations in the Java interface to PLplot that are
discussed in bindings/java/README.javaAPI. The two biggies are no
user-friendly interface wrapper and callback functions not implemented. The
first would allow some useful overloaded variations on argument lists
similar to what is now available for the python interface. The second
would allow complete generality in using callbacks for plcont, plshade, and
plshades similar to what is now available for the python interface.
I have no plans to deal with any more of the current Java interface
limitations at the present time, and I am frankly hoping for a Java expert
to take over to deal with these limitations to make our Java interface just
as powerful as our current python interface.
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the PLplot scientific plotting software
package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the
Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project