Scripting the techexplorer Hypermedia Browser
|
This section is of a technical nature and is for readers who are familiar
with C++, Java, and JavaScript programming. You may wish to skip this section
if you are solely interested in viewing and creating techexplorer documents.
|
The term scripting means to control the actions of one software application from another application.
In the web browser context, this refers to the interaction of
plug-ins,
ActiveX controls,
JavaScript programs,
Java
applets, and other software programs.
|
Note that beginning with Version 3.5 of techexplorer the
scripting interfaces are now provided by a top-level 'integre' package.
This change will require source code modifications in package name references
in any Java/JavaScript code that imports the older versions of these packages.
|
The techexplorer Java scripting interface serves as
the "glue" for developing interactive scientific and technical documents.
By using techexplorer, such documents are
able to leverage Internet programming languages, as well as specialized
applications from the large collection of scientific processors and renderers.
In the sections that follow, we discuss how you can control techexplorer
from Java applets, JavaScript programs and C++ programs.
Note: These examples illustrate using
techexplorer in Internet Explorer and in
Netscape version 4. When using Internet Explorer, you may
need to disable the Sun Java Plugin to view some of these examples.
See the Compatibility
section for details.
-
Begin with an overview of the basic HTML
Elements and concepts needed for cross web browser scripting development
using techexplorer.
-
Get started quickly by writing
a JavaScript LaTeX editor that makes use of web browser objects, HTML forms
and the techexplorerPlugin class.
-
Build on the JavaScript LaTeX editor to assemble a JavaScript
LaTeX/MathML
editor and translator
-
Use JavaScript to automatically size the width and height of
embedded windows. You can use this
technique to ensure that inline techexplorer equations
embedded in HTML remain "scroll bar free!"
-
Configure and use your Java development environment to create, compile
and run a Java applet version of the
LaTeX editor.
-
Create the The GraphIT application,
a techexplorer enhanced course module for understanding equations.
This example makes use of inter-applet communication and techexplorer-to-Java
connectivity.
-
Explore the JavaScript communication layer
example for an alternative method that can be used to deploy applications
involving Java applets, JavaScript, and techexplorer.
This example retains compatibility with the Sun Java Plugin.
-
Explore the Event Monitor
applet that provides a dynamic textual representation of events triggered
by techexplorer instances, as well as a mechanism for toggling such
events. This example expands on the concepts covered through the development
of the GraphIT application.
-
Learn how to use Java threads to create a
MathAnimation.
-
Learn about the techexplorer implementation
of the W3C Document Object Model application programming interface.
Java applications and C++ add-ins can now programatically manipulate the
techexplorer document tree!
- Put together a Spring Mass course module
that uses the Document Object Model API to connect a spring mass simulation Java applet
to a techexplorer document.
-
Look "under the hood" of the Expression
Selector and learn how to program a Java application that uses
techexplorer events and the Document Object Model.
-
Use the techexplorer Add-in
conduit application to bridge Java and external C/C++ applications.
-
Jump start your techexplorer Java development by making use of the
Example/API
link matrix.
-
Browse the annotated techexplorer Core Java
API Specification.
Integre techexplorer Hypermedia Browser is a trademark of Integre Technical Publishing.
Send comments and questions to techexplorer@integretechpub.com.
Visit the official techexplorer home page at http://www.integretechpub.com/techexplorer/.