public class Jmol extends GenericApplet implements WrappedApplet
| Modifier and Type | Field and Description |
|---|---|
private Boolean |
allowJSEval |
private Applet |
applet |
private FileDropper |
dropper |
private boolean |
isUpdating |
private netscape.javascript.JSObject |
jsoDocument |
private int |
lastMotionEventNumber |
private boolean |
showPaintTime |
private long |
timeBegin |
private int |
timeCount |
private int |
timeLast |
private int |
timeTotal |
appletObject, callbacks, codeBase, documentBase, doTranslate, fullName, gRight, haveDocumentAccess, haveNotifiedError, htmlName, htRegistry, isJNLP, isJS, isSigned, isStereoSlave, language, mayScript, statusForm, statusText, statusTextarea, viewer, vwrOptions| Constructor and Description |
|---|
Jmol() |
| Modifier and Type | Method and Description |
|---|---|
private void |
addValue(Map<String,Object> info,
String key,
String putKey,
Object value) |
private static void |
cleanRegistry() |
void |
destroy() |
protected String |
doEval(String strEval) |
float[][] |
doFunctionXY(String functionName,
int nX,
int nY) |
float[][][] |
doFunctionXYZ(String functionName,
int nX,
int nY,
int nZ) |
protected String |
doSendCallback(String callback,
Object[] data,
String strInfo) |
protected void |
doSendJsTextareaStatus(String message) |
protected void |
doSendJsTextStatus(String message) |
protected void |
doShowDocument(URL url) |
protected void |
doShowStatus(String message) |
private String |
fmt(int num) |
protected String |
getJmolParameter(String paramName) |
private void |
getJsObjectInfo(Object[] data)
probably never used -- only by Java applet reading directly from the DOM in an XHTML document.
|
protected void |
initOptions() |
void |
paint(Graphics g) |
int[] |
resizeInnerPanel(String data) |
void |
setApplet(Applet a,
boolean isSigned) |
Object |
setStereoGraphics(boolean isStereo) |
private void |
showTimes(int x,
int y,
Graphics g) |
private void |
startPaintClock() |
private void |
stopPaintClock() |
void |
update(Graphics g) |
private void |
update(Graphics g,
String source) |
createImage, eval, functionXY, functionXYZ, getAppletInfo, getBooleanValue, getJSpecViewProperty, getModelIndexFromId, getProperty, getProperty, getPropertyAsJSON, getPropertyAsJSON, getPropertyAsString, getPropertyAsString, getRegistryInfo, getValue, handleEvent, init, loadDOMNode, loadInline, loadInline, loadInline, loadInline, loadInlineArray, loadInlineString, notifyCallback, notifyEnabled, output, playAudio, register, script, scriptCheck, scriptNoWait, scriptWait, scriptWait, scriptWaitOutput, setCallbackFunction, showUrl, syncScriptprivate boolean isUpdating
private boolean showPaintTime
private int timeLast
private int timeCount
private int timeTotal
private int lastMotionEventNumber
private long timeBegin
private FileDropper dropper
private Applet applet
private Boolean allowJSEval
private netscape.javascript.JSObject jsoDocument
public void setApplet(Applet a, boolean isSigned)
setApplet in interface WrappedAppletpublic void paint(Graphics g)
paint in interface WrappedAppletpublic void update(Graphics g)
update in interface WrappedAppletpublic void destroy()
destroy in interface JmolAppletInterfacedestroy in class GenericAppletpublic Object setStereoGraphics(boolean isStereo)
setStereoGraphics in interface JmolAppletInterfaceprotected void initOptions()
initOptions in class GenericAppletprivate static void cleanRegistry()
protected String getJmolParameter(String paramName)
getJmolParameter in class GenericAppletprotected void doSendJsTextStatus(String message)
doSendJsTextStatus in class GenericAppletprotected void doSendJsTextareaStatus(String message)
doSendJsTextareaStatus in class GenericAppletprivate void startPaintClock()
private void stopPaintClock()
private String fmt(int num)
private void showTimes(int x,
int y,
Graphics g)
public int[] resizeInnerPanel(String data)
resizeInnerPanel in interface JmolStatusListenerresizeInnerPanel in class GenericAppletprotected String doSendCallback(String callback, Object[] data, String strInfo)
doSendCallback in class GenericAppletprivate void getJsObjectInfo(Object[] data)
data - protected String doEval(String strEval)
doEval in class GenericAppletpublic float[][] doFunctionXY(String functionName, int nX, int nY)
doFunctionXY in class GenericAppletpublic float[][][] doFunctionXYZ(String functionName, int nX, int nY, int nZ)
doFunctionXYZ in class GenericAppletprotected void doShowDocument(URL url)
doShowDocument in class GenericAppletprotected void doShowStatus(String message)
doShowStatus in class GenericApplet