abstract class Widgets.Widget
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
name |
Constructor and Description |
---|
Widget() |
Modifier and Type | Method and Description |
---|---|
(package private) abstract java.lang.String |
getJavaScript(int appletID,
JmolInstance instance)
Each Widget must implement this function and make sure to use
the appletID number to specify the target applet i.e.
|
(package private) abstract java.lang.String |
getJavaScriptFileName()
A COPY OF THIS .JS FILE MUST BE STORED IN THE html PART OF WEBEXPORT
|
(package private) abstract java.lang.String[] |
getSupportFileNames()
The list of files returned by this function should contain the full path to
each file.
|
abstract java.lang.String getJavaScript(int appletID, JmolInstance instance)
appletID
- instance
- abstract java.lang.String getJavaScriptFileName()
abstract java.lang.String[] getSupportFileNames()