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, syncScript
private 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 WrappedApplet
public void paint(Graphics g)
paint
in interface WrappedApplet
public void update(Graphics g)
update
in interface WrappedApplet
public void destroy()
destroy
in interface JmolAppletInterface
destroy
in class GenericApplet
public Object setStereoGraphics(boolean isStereo)
setStereoGraphics
in interface JmolAppletInterface
protected void initOptions()
initOptions
in class GenericApplet
private static void cleanRegistry()
protected String getJmolParameter(String paramName)
getJmolParameter
in class GenericApplet
protected void doSendJsTextStatus(String message)
doSendJsTextStatus
in class GenericApplet
protected void doSendJsTextareaStatus(String message)
doSendJsTextareaStatus
in class GenericApplet
private 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 JmolStatusListener
resizeInnerPanel
in class GenericApplet
protected String doSendCallback(String callback, Object[] data, String strInfo)
doSendCallback
in class GenericApplet
private void getJsObjectInfo(Object[] data)
data
- protected String doEval(String strEval)
doEval
in class GenericApplet
public float[][] doFunctionXY(String functionName, int nX, int nY)
doFunctionXY
in class GenericApplet
public float[][][] doFunctionXYZ(String functionName, int nX, int nY, int nZ)
doFunctionXYZ
in class GenericApplet
protected void doShowDocument(URL url)
doShowDocument
in class GenericApplet
protected void doShowStatus(String message)
doShowStatus
in class GenericApplet