|
|
|||||||||||||||||||
| Uni-HH / CS. / TAMS / Java / jfig | ||||||||||||||||||||
|
The jfig applet is based on the jfig bean and allows you to embed a FIG viewer directly into web-pages. Unlike embedded images, the user can both zoom and pan the figure, as well as select several rendering options (including grid, rulers, anti-aliasing, etc.). Note that the additional applet download should be no problem even for modem users, because the software must be downloaded only once and the jfig-bean.jar archive file just takes approximately 250 KBytes. In fact, the additional software download might be more than compensated by the smaller size of the FIG figure files when compared to equivalent high-resolution PNG- or JPEG-files. Please remember that Java applets are constrained by rather strict security checks; in particular, an unsigned Java applet can only load data (including figure files) from the same server that the applet itself was loaded. Unless you change the security settings by custom entries in your .java.policy configuration file, the jfig applets cannot access and display figure files from your local computer. (Check the documentation of your Java virtual machine for details, if you plan to use the jfig applet in your intranet). Example: JFigViewerAppletUse mouse-dragging or the popup-menu to control the applet below; see the bean page for a description of the supported shortcut-keys:
Applet parametersAt the moment, the jfig applet supports the following parameters:
URL specify the URL to parse and display, e.g.
http://yourserver/path/file.fig
file:/tmp/welcome.fig
file:/c/temp/welcome.fig
debug enable verbose messages if "true"
zoomfit zoom-fit after loading the URL if "true"
antialias enabled if "true"
renderquality enabled if "true"
showRulers enabled if "true"
defaultPopupMenu enabled if "true"
defaultKeyHandler enabled if "true"
defaultDragHandler mouse-dragging enabled if "true"
positionAndZoomPanel enabled if "true"
|
|||||||||||||||||||
| 29.01.2006 | Impressum |